/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 bzrlib/workingtree_4.py

  • Committer: Aaron Bentley
  • Date: 2009-03-10 05:24:59 UTC
  • mto: This revision was merged to the branch mainline in revision 4112.
  • Revision ID: aaron@aaronbentley.com-20090310052459-9r5w2vvnklb92x99
Avoid autodetecting tree references in _comparison_data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
        # it looks like a plain directory, but it's really a reference -- see
215
215
        # also kind()
216
216
        if (self._repo_supports_tree_reference and
217
 
            kind == 'directory' and
218
 
            self._directory_is_tree_reference(path)):
 
217
            kind == 'directory' and entry.kind == 'tree-reference'):
219
218
            kind = 'tree-reference'
220
219
        return kind, executable, stat_value
221
220