[RFC] implementation of revno:N:branch revisionspec (and general remark about diff implementation)

Martin Pool mbp at canonical.com
Mon Jun 19 08:25:02 BST 2006


On 28 May 2006, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Hi,
> 
> I finally found time to give my old feature request for a
> revno:N:branch revision specifier a try. Following is a patch
> implementing it. It doesn't have a testcase yet, but seems to work for
> me, and still passes "bzr selftest".
> 
> Any comments are welcome.
> 
> To use it, for example,
> 
> $ bzr diff -r \
>   revno:1:http://bazaar-vcs.org/bzr/bzr.dev/..revno:2:http://bazaar-vcs.org/bzr/bzr.dev/
> 
> will give you the diff between revision 1 and revision 2 of bzr's
> upstream, downloading only the necessary files, and without requiring
> any working tree or local branch.

It's a reasonable feature and the patch seems OK but it really needs a
test before we can merge it.  Otherwise someone could break it in the
future and we wouldn't know, and the revspec stuff is complex enough
that could happen.

-- 
Martin




More information about the bazaar mailing list