post 0.8 development

Martin Pool mbp at canonical.com
Wed May 10 03:48:42 BST 2006


On  8 May 2006, Jan Hudec <bulb at ucw.cz> wrote:

> What is 'bzr diff -r 1..2 http://path/to/branch supposed to do?
> - Diff revision 1 of http://path/to/branch against revision 2 thereof

Yes.

> - Diff revision 1 of . against revision 2 of http://path/to/branch
> - Diff revision 1 of http://path/to/branch against revision 2 of .

I would like to do those two with 

  diff -r 1 . -r 2 http://path/to/branch
and vice versa.

I don't mind having some extended URL syntax but from our experience
with revision-specs I have a feeling that simple options will be easier
for people to understand.  As another example we could add

  bzr diff --ancestor ../bzr.dev .

to show a diff from the best common ancestor.  You can do this at the
moment with 

  bzr diff -r ancestor:../bzr.dev.. 

but it's a bit cryptic.

-- 
Martin




More information about the bazaar mailing list