How to get the diff between two arbitrary remote revisions?

Robey Pointer robey at lag.net
Wed Nov 16 02:43:56 GMT 2005


On 15 Nov 2005, at 16:25, Aaron Bentley wrote:

> Robey Pointer wrote:
> | On 15 Nov 2005, at 11:44, Aaron Bentley wrote:
> |> Robey Pointer wrote:
> |>> I really think -r should only refer to revisions,
>
> |> It does only refer to revisions.  Perhaps you mean it should  
> only  refer
> |> to revnos?
> |
> | I mean only revisions.  It shouldn't allow you to switch branches.
>
> It does not allow you to switch branches, but it does allow you to
> specify any revision at all.
>
> "-r branch:foo" is one way of specifying 'the latest revision in that
> branch over there'.  "-r revid:bar" is another way, but less  
> pleasant IMHO.

This ended up sounding more confusing than I intended it to, sorry.   
Let me try to start over.

All I really meant was:

I don't think -r should let you shunt across to a different branch  
from the branch currently in context.

AIUI, "-r revid:bar" will only look up the revision in the current- 
context branch, but "-r branch:foo" will shunt over to the latest  
revision in branch "foo".

I believe there should be a way to specify a branch on the command  
line (or even two in the case of 'diff') but I don't think it should  
be -r.  It creates a confusion of ideas -- which this thread seems to  
confirm. ;)

robey





More information about the bazaar mailing list