How to get the diff between two arbitrary remote revisions?

Martin Pool mbp at sourcefrog.net
Wed Nov 16 04:47:29 GMT 2005


On 15 Nov 2005, Robey Pointer <robey at lag.net> wrote:
> >No, revid is completely context-independent.  It's a universally  
> >unique
> >identifier.  You can specify any revision id you like.  Of course, if
> >it's not stored in your branch, the operation isn't likely to succeed.
> >But it's quite common for a branch to store revisions that aren't
> >ancestors of the latest revision.  Happens every time you merge.
> 
> If they're in the .bzr for a branch, they're part of that branch's  
> "context" in this sense.

Right, so even though the revid is global, one will typically need to
name a branch to look it up in.  So we might want to write something
like 

  bzr diff --branch ../something -r revid:foo at kasjdka .

to diff a remote non-mainline revision to this directory.

-- 
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/20051116/5c59ed12/attachment.pgp 


More information about the bazaar mailing list