[MERGE] More explicit use of Tree.get_root_id()
Martin Pool
mbp at canonical.com
Sat Nov 3 23:31:25 GMT 2007
Martin Pool has voted tweak.
Status is now: Conditionally approved
Comment:
+ def get_tree_with_default_root_id(self):
+ tree = self.make_branch_and_tree('tree')
+ return self._convert_tree(tree)
+
+ def get_tree_with_fixed_root_id(self):
+ tree = self.make_branch_and_tree('tree')
+ tree.set_root_id('custom-tree-root-id')
+ return self._convert_tree(tree)
+
Aside from Aaron's question, I would suggest these be make_* not
get_*, and then it's ok. I can see how the existing
For details, see:
http://bundlebuggy.aaronbentley.com/request/%3C20071026192324.EDA2255FCB%40juju.arbash-meinel.com%3E
More information about the bazaar
mailing list