~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Robert Collins
  • Date: 2006-03-02 10:51:24 UTC
  • mto: (1594.2.4 integration)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: robertc@robertcollins.net-20060302105124-675e0bed0d749b43
get knit repositories really using knits for text storage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
460
460
        """See VersionedFile.get_lines()."""
461
461
        return self._get_content(version_id).text()
462
462
 
 
463
    def num_versions(self):
 
464
        """See VersionedFile.num_versions()."""
 
465
        return self._index.num_versions()
 
466
 
 
467
    __len__ = num_versions
 
468
 
463
469
    def annotate_iter(self, version_id):
464
470
        """See VersionedFile.annotate_iter."""
465
471
        content = self._get_content(version_id)