556
556
"""Yield lines for the specified version."""
557
557
incls = [self.maybe_lookup(name_or_index)]
562
562
# We don't have sha1 sums for multiple entries
564
564
for origin, lineno, line in self._extract(incls):
569
569
expected_sha1 = self._sha1s[index]
571
571
if measured_sha1 != expected_sha1:
572
572
raise errors.WeaveInvalidChecksum(
573
573
'file %s, revision %s, expected: %s, measured %s'