~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-09 00:44:25 UTC
  • mfrom: (4454.3.79 1.17-rework-annotate)
  • Revision ID: pqm@pqm.ubuntu.com-20090709004425-6tukiuklys5y02m5
(jam) Rework the internals of annotate to use a class object (fixes
        bug #387952)

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():