40
40
self.diff_writer = colordiff.DiffWriter(sys.stdout, False)
41
41
self.manager = prepare_shelf.ShelfManager.for_tree(work_tree)
45
46
tree, path = workingtree.WorkingTree.open_containing('.')
46
47
target_tree = builtins._get_one_revision_tree('shelf2', revision,
49
return klass(tree, target_tree, path, all)
51
52
creator = prepare_shelf.ShelfCreator(self.work_tree, self.target_tree)