[MERGE] Fix InterBranch.pull tests.

Robert Collins robert.collins at canonical.com
Mon Mar 30 22:46:13 BST 2009


On Mon, 2009-03-30 at 23:31 +0200, Jelmer Vernooij wrote:
> Robert Collins wrote:
> > bb:comment
> >
> > what does your svn puller do differently?
> >   
> It only fetches Subversion tags since the last time that we pulled from
> the remote branch (since finding tags sometimes has to analyze all
> history)

This is something I would like/be happy to see encoded into the stock
bzr api's, even though bzr's current tags don't have this capability.

>  and it avoids any calls that involve revno's of the remote
> branch, as calculating revno's for svn branches requires walking the
> full mainline history.

ah. Now, lets see, why do we do that.. ah yes, we do it to get our new
revno, and that's much of a muchness except when a very large pull is
done - e.g. the initial pull of ooo.

I suspect this might be better done with a flag on BranchFormat
actually, and here is why...

RemoteBranch is a proxy for branches held elsewhere. It can represent
git or hg or svn branches too, if the plugins are on both systems; and
for those cases you would still want to avoid asking for the source
branch revno.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090331/464879e7/attachment.pgp 


More information about the bazaar mailing list