"Ralf S. Engelschall" <[EMAIL PROTECTED]> writes:
> This afternoon I finally got really nerved having to type
>
>     $ mtn diff -r `mtn automate parent <rev>` -r <rev>
>
> or the rather ugly, unhandy and partly unrecognizeable
>
>     $ mtn log --diffs --no-graph --brief --from <rev> --to <rev>

There is also

$ mtn log --diffs --no-graph --brief --from <rev> --last=1

> just to get the diff output which has lead to a particular revision
> <rev> (which in turn I usually figure out via "mtn annotate"
> beforehand).
>
> I don't know whether it is just me, but I rather often need the _parent_
> of a revision (if more parents exists, I'm out of luck doing an easy
> diff anyway) and especially -- even if a command can figure it out --
> want to avoid even having to copy & paste it more revision ids than
> necessary.
>
> So, find appended a small patch against h:n.v.m which implements a
> "p:<rev>" selector. With this I now can finally use short commands like:
>
>     $ mtn diff -r p:<rev> -r <rev>
>
> The <rev> here can be an appreviated revision, too.

I like that and I'm not the only one:

http://savannah.nongnu.org/bugs/?19753
http://savannah.nongnu.org/bugs/?18302

-- 
Ludovic Brenta.



_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to