44
45
class MergeBuilder(object):
45
47
def __init__(self, dir=None):
46
48
self.dir = osutils.mkdtemp(prefix="merge-test", dir=dir)
47
49
self.tree_root = generate_ids.gen_root_id()
49
51
path = pathjoin(self.dir, name)
52
54
# the tests perform pulls, so need a branch that is writeable.
54
56
wt.set_root_id(self.tree_root)