post 0.8 development

Jan Hudec bulb at ucw.cz
Mon May 8 22:28:46 BST 2006


On Mon, May 08, 2006 at 12:44:09 -0700, John A Meinel wrote:
> Matthieu Moy wrote:
> >* there's also my old "how to get the diff between two remote 
> >revisions", but nobody seems interested, so I'll have to do it myself 
> >when I have time ;-).
> 
> There is a bug report for "bzr diff -r 1..2 http://path/to/branch" not 
> working. And I do think we are interested in fixing that one. (I am, at 
> least). I looked into it, but the cmd_diff code is a little tricky, 
> because it does a lot of different things based on what the arguments 
> are. (If it is 2 branches it does something different than 2 files, 
> different from no files, etc).

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
- Diff revision 1 of . against revision 2 of http://path/to/branch
- Diff revision 1 of http://path/to/branch against revision 2 of .
Guess reading --help would tell me, but it takes a hack lot thinking each
time I need to use it. The ;revision notation would really help here:
  bzr diff .;revno=1 http://path/to/branch;revno=2
can't be confused.
Note that it is longer, so it should not replace -r completely. Though one
could write:
  bzr diff http://path/to/branch;revno=1 http://path/to/branch;revno=2
with a bit of shell magic as:
  bzr diff http://path/to/branch;revno={1,2}

> I don't think we've settled down on our URL scheme to support
> http://path/to/branch;revision=foo
> But I think if someone actually implemented a parser for that, we would 
> consider merging it. (The one who actually implements it will get a lot 
> of say as to how the syntax will actually work).

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- 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/20060508/348b7e14/attachment.pgp 


More information about the bazaar mailing list