How to get the diff between two arbitrary remote revisions?

Matthieu Moy Matthieu.Moy at imag.fr
Tue Nov 15 08:01:46 GMT 2005


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).

As soon as you allow the user to designate a remote revision, you
potentially allow designating two revisions in two different branches.
If you don't, then it's a limitation for commands like "diff" which
may need it.

In the case of log as above, the command should just fail with "%s and
%s are not in the same branch".

-- 
Matthieu




More information about the bazaar mailing list