271
271
if expected_sha1 != sha1:
272
272
raise errors.VersionedFileInvalidChecksum(version)
274
275
def get_sha1(self, version_id):
275
276
"""Get the stored sha1 sum for the given revision.
277
278
:param version_id: The name of the version to lookup
281
282
def get_sha1s(self, version_ids):
282
283
"""Get the stored sha1 sums for the given revisions.