~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Aaron Bentley
  • Date: 2007-07-17 20:04:13 UTC
  • mto: (1551.19.24 Aaron's mergeable stuff)
  • mto: This revision was merged to the branch mainline in revision 2639.
  • Revision ID: abentley@panoramicfeedback.com-20070717200413-jpganazttxzryrx8
Deprecate RevisionTree.get_weave

Show diffs side-by-side

added added

removed removed

Lines of Context:
1349
1349
    def annotate_iter(self, file_id,
1350
1350
                      default_revision=_mod_revision.CURRENT_REVISION):
1351
1351
        """See Tree.annotate_iter"""
1352
 
        w = self._repository.weave_store.get_weave(file_id,
1353
 
                           self._repository.get_transaction())
 
1352
        w = self._get_weave(file_id)
1354
1353
        return w.annotate_iter(self.inventory[file_id].revision)
1355
1354
 
1356
1355
    def _get_ancestors(self, default_revision):
1494
1493
            return parent_details[1]
1495
1494
        return None
1496
1495
 
 
1496
    @symbol_versioning.deprecated_method(symbol_versioning.zero_nineteen)
1497
1497
    def get_weave(self, file_id):
 
1498
        return self._get_weave(file_id)
 
1499
 
 
1500
    def _get_weave(self, file_id):
1498
1501
        return self._repository.weave_store.get_weave(file_id,
1499
1502
                self._repository.get_transaction())
1500
1503
 
1503
1506
 
1504
1507
    def get_file_lines(self, file_id):
1505
1508
        ie = self.inventory[file_id]
1506
 
        return self._repository.weave_store.get_weave(file_id,
1507
 
                self._repository.get_transaction()).get_lines(ie.revision)
 
1509
        return self._get_weave(file_id).get_lines(ie.revision)
1508
1510
 
1509
1511
    def get_file_size(self, file_id):
1510
1512
        return self.inventory[file_id].text_size