ValueError: Cannot have multiple roots. in rich root repositories when using Tree.revert()

Ali Sabil ali.sabil at gmail.com
Thu Feb 19 22:27:32 GMT 2009


Hi all,

I am trying to write a very simple plugin that generate a new branch from a
source branch, applying a set of transforms to achieve the same end result
as git-filter-branch. I am working on this plugin mainly to get a better
understanding of the bzrlib APIs, and I hope to be able to port the feature
to bzr-rebase later.

The issue is that I get a "ValueError: Cannot have multiple roots."
exception when running the filter-branch command inside a rich-root
repository, while filter-branch seems to work for the non rich-root case.
The source code for the plugin can be found in [1], and a traceback can be
found in [2].

Cheers,

[1]
http://bazaar.launchpad.net/~asabil/%2Bjunk/bzr-filter-branch/annotate/2?file_id=__init__.py-20090127233409-qypu6vpum4beee00-1
[2] http://pastebin.ca/1341535

--
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090219/9197684c/attachment.htm 


More information about the bazaar mailing list