[MERGE][bug 115343] Allow 'bzr branch -r revid:xxx' to branch any revision in ancestry

Aaron Bentley aaron.bentley at utoronto.ca
Mon Jun 11 02:19:02 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bentley wrote:
> John Arbash Meinel wrote:
> 
>> However the:
>>   branch2 = wt.branch.sprout(repo.bzrdir, revision_id='rev3')
> 
>> I'm much less comfortable with. Having a branch sprout a new branch,
>> without having the revision in its ancestry just feels wrong.

> We can always add new UI stuff later and deprecate the ability to branch
> from a non-ancestral revision, but since it works now, and it's useful
> functionality, let's put it under test.

Here is a version of John's patch that ensures you can branch from any
revision in your repository, not only an ancestral one.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbKLz0F+nu1YWqI0RAlG2AJ9mkv6pEwK3EH4LwMjX18zPE+6M6QCfcdXc
q5b49zWHfJ2/uTVh2X71BBw=
=WGud
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-115343.patch
Type: text/x-patch
Size: 26157 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070610/7b5a6214/attachment-0001.bin 


More information about the bazaar mailing list