/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

Move imports down, might not be available in older bzr-git versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    lockdir,
39
39
    osutils,
40
40
    transport,
 
41
    tree,
41
42
    urlutils,
42
43
    workingtree,
43
44
    )
167
168
            path = self._inventory.id2path(file_id)
168
169
        return osutils.sha_file_by_name(self.abspath(path).encode(osutils._fs_enc))
169
170
 
 
171
    def iter_changes(self, from_tree, include_unchanged=False,
 
172
                     specific_files=None, pb=None, extra_trees=None,
 
173
                     require_versioned=True, want_unversioned=False):
 
174
 
 
175
        intertree = tree.InterTree.get(from_tree, self)
 
176
        return intertree.iter_changes(include_unchanged, specific_files, pb,
 
177
            extra_trees, require_versioned, want_unversioned=want_unversioned)
 
178
 
170
179
 
171
180
class GitWorkingTreeFormat(workingtree.WorkingTreeFormat):
172
181