~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/grep/grep.py

  • Committer: Jelmer Vernooij
  • Date: 2012-07-30 17:30:10 UTC
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: jelmer@samba.org-20120730173010-izxsziv4sg5ywuk9
Formatting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    # requires that start is older than end
69
69
    repo = branch.repository
70
70
    graph = repo.get_graph()
71
 
    for revision_id in graph.iter_lefthand_ancestry(end_rev_id, (_mod_revision.NULL_REVISION, )):
 
71
    for revision_id in graph.iter_lefthand_ancestry(
 
72
            end_rev_id, (_mod_revision.NULL_REVISION, )):
72
73
        revno = branch.revision_id_to_dotted_revno(revision_id)
73
74
        revno_str = '.'.join(str(n) for n in revno)
74
75
        if revision_id == start_rev_id: