[MERGE/RFC] Use Branch.pull() to update master branch.
Jelmer Vernooij
jelmer at samba.org
Wed Feb 25 16:52:11 GMT 2009
The attached patch makes the commit code use Branch.pull() to update the
master branch when committing to a bound branch.
This is required for bzr-svn as it can't update just the repository, it
has to update the branch as well. Previously it had some magic in the
Repository.fetch() code to handle this, but that is vulnerable to race
conditions. (#248289)
Is Branch.pull() the right call here, or should I be adding something
custom?
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: masterbranch-update-4049.patch
Type: text/x-patch
Size: 2992 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090225/5f16aaaf/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090225/5f16aaaf/attachment.pgp
More information about the bazaar
mailing list