~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to annotate.py

  • Committer: Aaron Bentley
  • Date: 2005-09-13 00:54:36 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20050913005436-cb4d35847ddffbd0
attributed changes correctly in annotate

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
            text_id = cur_tree.inventory[file_id].text_id
40
40
        if text_id != later_text_id:
41
41
            patch = get_patch(branch, revno, later_revision, file_id)
42
 
            yield revno, patch.iter_inserted(), patch
 
42
            yield revno+1, patch.iter_inserted(), patch
43
43
            later_revision = revno
44
44
            later_text_id = text_id
45
45
        yield progress.Progress("revisions", i)