Lines Matching refs:new_tree
56 def add_helper(self, base_tree, base_path, new_tree, file_list, argument
61 new_tree.lock_write()
66 new_tree.smart_add(file_list, action=action)
68 new_tree.unlock()
75 new_tree = self.make_branch_and_tree('new')
82 self.add_helper(self.base_tree, '', new_tree, ['new'])
86 new_file_id = new_tree.path2id(fn)
91 new_tree = self.make_branch_and_tree('new')
95 new_tree.set_root_id(self.base_tree.path2id(''))
96 self.add_helper(self.base_tree, 'dir', new_tree, ['new'])
102 new_tree.path2id('a'))
104 new_tree.path2id('b'))
110 new_tree.path2id('subdir'))
112 new_tree.path2id('subdir/b'))
115 c_id = new_tree.path2id('c')
121 d_id = new_tree.path2id('subdir/d')
127 new_tree = self.make_branch_and_tree('new')
131 new_tree.add(['subby'], [subdir_file_id])
132 self.add_helper(self.base_tree, '', new_tree, ['new'])
136 new_tree.path2id('subby/b'))
140 a_id = new_tree.path2id('subby/a')