/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/delta.py

  • Committer: Aaron Bentley
  • Date: 2006-08-16 04:04:30 UTC
  • mfrom: (1922 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: aaron.bentley@utoronto.ca-20060816040430-3d869d673bdde644
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from bzrlib.inventory import InventoryEntry
18
18
from bzrlib.trace import mutter
19
 
from bzrlib.symbol_versioning import deprecated_function, zero_ten
 
19
from bzrlib.symbol_versioning import deprecated_function, zero_nine
20
20
 
21
21
 
22
22
class TreeDelta(object):
143
143
            show_list(self.unchanged)
144
144
 
145
145
 
146
 
@deprecated_function(zero_ten)
 
146
@deprecated_function(zero_nine)
147
147
def compare_trees(old_tree, new_tree, want_unchanged=False,
148
148
                  specific_files=None, extra_trees=None,
149
149
                  require_versioned=False):
189
189
        """We have matched up 2 file_ids, check for changes."""
190
190
        assert old_entry.kind == new_entry.kind
191
191
 
192
 
        if old_entry.kind == 'root_directory':
193
 
            return
194
 
 
195
192
        if specific_file_ids:
196
193
            if (old_entry.file_id not in specific_file_ids and 
197
194
                new_entry.file_id not in specific_file_ids):