~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

  • Committer: Martin Pool
  • Date: 2005-10-04 02:05:24 UTC
  • mto: (1185.13.3)
  • mto: This revision was merged to the branch mainline in revision 1400.
  • Revision ID: mbp@sourcefrog.net-20051004020524-9a5bb652420e86b3
- slight speedup for weave stats

Show diffs side-by-side

added added

removed removed

Lines of Context:
796
796
    vers = len(w)
797
797
    for i in range(vers):
798
798
        pb.update('checking sizes', i, vers)
799
 
        for line in w.get_iter(i):
 
799
        for origin, lineno, line in w._extract([i]):
800
800
            total += len(line)
801
801
 
802
802
    pb.clear()