~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Aaron Bentley
  • Date: 2008-10-14 02:50:56 UTC
  • mfrom: (3363.18.2 direct-patching)
  • mto: This revision was merged to the branch mainline in revision 3782.
  • Revision ID: aaron@aaronbentley.com-20081014025056-dlyb96nmtv4aenuj
Merge direct-patching into fix-iter-changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
from bzrlib.inter import InterObject
38
38
from bzrlib.osutils import fingerprint_file
39
39
import bzrlib.revision
 
40
from bzrlib.symbol_versioning import deprecated_function, deprecated_in
40
41
from bzrlib.trace import mutter, note
41
42
 
42
43
 
649
650
    return 'wtf?'
650
651
 
651
652
    
652
 
 
 
653
@deprecated_function(deprecated_in((1, 9, 0)))
653
654
def find_renames(old_inv, new_inv):
654
655
    for file_id in old_inv:
655
656
        if file_id not in new_inv:
658
659
        new_name = new_inv.id2path(file_id)
659
660
        if old_name != new_name:
660
661
            yield (old_name, new_name)
661
 
            
 
662
 
662
663
 
663
664
def find_ids_across_trees(filenames, trees, require_versioned=True):
664
665
    """Find the ids corresponding to specified filenames.