Hi all,<br><br>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.<br>
<br>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].<br>
<br>Cheers,<br><br>[1] <a href="http://bazaar.launchpad.net/~asabil/%2Bjunk/bzr-filter-branch/annotate/2?file_id=__init__.py-20090127233409-qypu6vpum4beee00-1">http://bazaar.launchpad.net/~asabil/%2Bjunk/bzr-filter-branch/annotate/2?file_id=__init__.py-20090127233409-qypu6vpum4beee00-1</a><br>
[2] <a href="http://pastebin.ca/1341535">http://pastebin.ca/1341535</a><br><br>--<br>Ali<br>