/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to workingtree.py

Implement _set_root_id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
    def _add(self, files, ids, kinds):
137
137
        for (path, file_id, kind) in zip(files, ids, kinds):
138
138
            self._index_add_entry(path, file_id, kind)
 
139
            if file_id is not None:
 
140
                self._fileid_map.set_file_id(path, file_id)
 
141
 
 
142
    def _set_root_id(self, file_id):
 
143
        self._fileid_map.set_file_id("", file_id)
139
144
 
140
145
    def move(self, from_paths, to_dir=None, after=False):
141
146
        rename_tuples = []