~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-06 20:21:34 UTC
  • mto: This revision was merged to the branch mainline in revision 4522.
  • Revision ID: john@arbash-meinel.com-20090706202134-19iakgxrs3yxi7k7
Tests that VF implementations support .get_annotator()
This also meant supporting no-graph style VF implementations, which
wasn't too bad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
import urllib
31
31
 
32
32
from bzrlib import (
 
33
    annotate,
33
34
    errors,
34
35
    groupcompress,
35
36
    index,
1122
1123
            result.append((prefix + (origin,), line))
1123
1124
        return result
1124
1125
 
 
1126
    def get_annotator(self):
 
1127
        return annotate.Annotator(self)
 
1128
 
1125
1129
    def check(self, progress_bar=None):
1126
1130
        """See VersionedFiles.check()."""
1127
1131
        for prefix, vf in self._iter_all_components():