/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-21 10:36:58 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-20100321103658-2306n2z7p0nwmipw
moved tree get call outside loop

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                continue
85
85
 
86
86
            rev = RevisionSpec_revid.from_string("revid:"+revid)
 
87
            tree = rev.as_tree(wt.branch)
87
88
            for path in path_list:
88
 
                tree = rev.as_tree(wt.branch)
89
89
                path_for_id = osutils.pathjoin(relpath, path)
90
90
                id = tree.path2id(path_for_id)
91
91
                if not id: