/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/weave.py

  • Committer: Robert Collins
  • Date: 2009-03-11 05:26:14 UTC
  • mto: This revision was merged to the branch mainline in revision 4117.
  • Revision ID: robertc@robertcollins.net-20090311052614-v57k6mz9hqcxzgf6
Weaves were reporting way too many lines altered... fix so that the fetch changes actually emit the right revisions and tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
            version_ids = self.versions()
576
576
        version_ids = set(version_ids)
577
577
        for lineno, inserted, deletes, line in self._walk_internal(version_ids):
578
 
            # if inserted not in version_ids then it was inserted before the
579
 
            # versions we care about, but because weaves cannot represent ghosts
580
 
            # properly, we do not filter down to that
581
 
            # if inserted not in version_ids: continue
 
578
            if inserted not in version_ids: continue
582
579
            if line[-1] != '\n':
583
580
                yield line + '\n', inserted
584
581
            else: