/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 grep.py

  • Committer: Parth Malwankar
  • Date: 2010-03-16 14:10:04 UTC
  • mto: (0.44.2 grep) (6531.3.1 merge-grep)
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: parth.malwankar@gmail.com-20100316141004-d1c8t1rpremzhjs0
added comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
    wt, relpath = WorkingTree.open_containing('.')
53
53
 
 
54
    # We do an optimization below. For grepping a specific revison
 
55
    # We don't need to call _graph_view_revisions which is slow.
 
56
    # We create the start_rev_tuple for only that specific revision.
 
57
    # _graph_view_revisions is used only for revision range.
54
58
    start_rev = revision[0]
55
59
    start_revid = start_rev.as_revision_id(wt.branch)
56
60
    srevno_tuple = wt.branch.revision_id_to_dotted_revno(start_revid)