~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-08-03 11:39:53 UTC
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: jelmer@samba.org-20120803113953-w8a0pzrklcelehcs
Remove broken tests..

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
            # faster when we don't want to look at merged revs. We try this
333
333
            # with _linear_view_revisions. If all revs are to be grepped we
334
334
            # use the slower _graph_view_revisions
335
 
            if opts.levels==1 and grep_mainline:
 
335
            if opts.levels == 1 and grep_mainline:
336
336
                given_revs = _linear_view_revisions(branch, start_revid, end_revid)
337
337
            else:
338
338
                given_revs = _graph_view_revisions(branch, start_revid, end_revid)