~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Alexander Belchenko
  • Date: 2007-11-19 22:54:30 UTC
  • mfrom: (3006 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3008.
  • Revision ID: bialix@ukr.net-20071119225430-x0ewosrsagis0yno
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1117
1117
                line_iterator = self.factory.get_fulltext_content(data)
1118
1118
            else:
1119
1119
                line_iterator = self.factory.get_linedelta_content(data)
 
1120
            # XXX: It might be more efficient to yield (version_id,
 
1121
            # line_iterator) in the future. However for now, this is a simpler
 
1122
            # change to integrate into the rest of the codebase. RBC 20071110
1120
1123
            for line in line_iterator:
1121
 
                yield line
 
1124
                yield line, version_id
1122
1125
 
1123
1126
        pb.update('Walking content.', total, total)
1124
1127