~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

  • Committer: Aaron Bentley
  • Date: 2007-06-23 05:14:25 UTC
  • mto: (2520.5.2 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: aaron.bentley@utoronto.ca-20070623051425-xtdjn7z8xsaqah0f
Add get_sha1s to weaves

Show diffs side-by-side

added added

removed removed

Lines of Context:
891
891
        """See VersionedFile.get_sha1()."""
892
892
        return self._sha1s[self._lookup(version_id)]
893
893
 
 
894
    def get_sha1s(self, version_ids):
 
895
        """See VersionedFile.get_sha1s()."""
 
896
        return [self._sha1s[self._lookup(v)] for v in version_ids]
 
897
 
894
898
    @deprecated_method(zero_eight)
895
899
    def numversions(self):
896
900
        """How many versions are in this weave?