~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-31 12:28:55 UTC
  • mfrom: (4988.3.2 cleanup-repo)
  • Revision ID: pqm@pqm.ubuntu.com-20100131122855-lmwqnehfxn3wkm94
(Jelmer) Remove Repository.get_inventory_sha1().

Show diffs side-by-side

added added

removed removed

Lines of Context:
2459
2459
            raise errors.HistoryMissing(self, 'inventory', revision_id)
2460
2460
        return text
2461
2461
 
2462
 
    @needs_read_lock
2463
 
    def get_inventory_sha1(self, revision_id):
2464
 
        """Return the sha1 hash of the inventory entry
2465
 
        """
2466
 
        return self.get_revision(revision_id).inventory_sha1
2467
 
 
2468
2462
    def get_rev_id_for_revno(self, revno, known_pair):
2469
2463
        """Return the revision id of a revno, given a later (revno, revid)
2470
2464
        pair in the same history.