How to get the diff between two arbitrary remote revisions?

Jan Hudec bulb at ucw.cz
Fri Nov 4 11:07:19 GMT 2005


On Fri, Nov 04, 2005 at 09:58:17 +0100, Matthieu Moy wrote:
> Hi,
> 
> I can't find a way to get the diff between two arbitrary revisions if
> they are remote.
> 
> I've tried
> 
>   bzr diff -r branch:$HOME/path/to/branch/,revno=2..branch:$HOME/path/to/branch/,revno=5
> 
> (I remember a discussion about using ,revno=N but I don't remember
> what the final decision was)
> 
> but the ,revno= part seems to be simply ignored.
> 
> There should IMO be a way to designate a particular revision in
> revision specs. The syntax I tried above makes sense to me.
> 
>   bzr diff --branch $HOME/path/to/branch/ -r 2..5
> 
> would also make sense, but it doesn't handle the case
> 
>   bzr diff -r branch:/path/to/a/branch/,revno=1..branch:/path/to/another/branch/,revno=1

Personally I think that it would make even more sense to allow this:

bzr diff /path/to/a/branch/,revno=1 /path/to/another/branch/,revno=1

I would be nice to have this generally - anything that accepts -r could
accept ,revno addition to the location argument.

--
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- 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/20051104/644a1a0d/attachment.pgp 


More information about the bazaar mailing list