How to get the diff between two arbitrary remote revisions?
Martin Pool
mbp at sourcefrog.net
Thu Nov 17 01:48:50 GMT 2005
On 16 Nov 2005, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Martin Pool <mbp at sourcefrog.net> writes:
>
> > I'd like either
> >
> > bzr diff -r 3 /path/to/branch -r 3 /path/to/other/branch
>
> The difference between
>
> bzr diff -r 3 /path/to/branch -r 3 /path/to/other/branch
>
> and
>
> bzr diff -r 3 /path/to/branch -r 42 \
> ./I/want/the/diff/for/this/precise/file
>
> (to mean "diff between revno 3 of /path/to/branch and revision 42 in
> the current branch) will become a bit fuzzy then.
It is a bit fuzzy. And yet gnu diff has a somewhat similar heuristic
when either the first or the last argument is a directory.
> > bzr diff -r 3 --branch /path/to/branch -r 3 --branch /path/to/other/branch
>
> That's not my prefered one, but it seems more acceptable. If you
> provide a 1-letter shortcut for --branch (say, -b), it's not really
> longer to type.
OK, so any other comments on this form with -b?
It would make sense here, and perhaps other places, to allow people to
give two -r options rather than one with dots.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051117/b47a0594/attachment.pgp
More information about the bazaar
mailing list