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

  • Committer: Aaron Bentley
  • Date: 2008-04-12 20:58:28 UTC
  • mto: (3363.16.1 __contains__)
  • mto: This revision was merged to the branch mainline in revision 3387.
  • Revision ID: aaron@aaronbentley.com-20080412205828-eooqv88548wcbl1l
All tests passing

Show diffs side-by-side

added added

removed removed

Lines of Context:
1420
1420
        return result
1421
1421
 
1422
1422
    def path2id(self, path):
1423
 
        return self.paths2ids([path]).pop()
 
1423
        return self._transform._tree.path2id(path)
1424
1424
 
1425
1425
    def id2path(self, file_id):
1426
1426
        trans_id = self._transform.trans_id_file_id(file_id)