How to get the diff between two arbitrary remote revisions?
Robey Pointer
robey at lag.net
Tue Nov 15 18:19:36 GMT 2005
On 15 Nov 2005, at 0:01, Matthieu Moy wrote:
> Robey Pointer <robey at lag.net> writes:
>
>> For example, it lets you give a command that is syntactically correct
>> but makes no sense:
>>
>> $ bzr log -r "revno:23:http://example.com/gcc".."revno:16:http://
>> example.com/nautilus"
>
> True, but it was already the case previously:
>
> $ bzr log -r branch:/path/to/branch/..branch:/path/to/other/branch/
>
> is accepted syntactically by the upstream bzr, and it makes no sense.
> (and BTW, its behavior is very surprising: It fetches revisions from
> /path/to/branch and /path/to/another/branch, and then shows the log
> for the current branch. I think that's a bug).
Yikes!
It looks like it's meant to allow revision ranges that span two
branches with common ancestry -- at least, it pulls the revision
object from the remote branch and then throws the branch object
away. Kind of hacky.
I really think -r should only refer to revisions, not branches, just
to avoid this kind of confusion. What's so terrible about 'bzr diff'
optionally taking two arguments? :)
robey
More information about the bazaar
mailing list