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

  • Committer: Jelmer Vernooij
  • Date: 2020-02-13 23:57:28 UTC
  • mfrom: (7490 work)
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200213235728-m6ds0mm3mbs4y182
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
 
17
from __future__ import absolute_import
 
18
 
17
19
from io import BytesIO
18
20
import re
19
21
 
419
421
    if not tree:
420
422
        msg = ('Cannot search working tree. Working tree not found.\n'
421
423
               'To search for specific revision in history use the -r option.')
422
 
        raise errors.CommandError(msg)
 
424
        raise errors.BzrCommandError(msg)
423
425
 
424
426
    # GZ 2010-06-02: Shouldn't be smuggling this on opts, but easy for now
425
427
    opts.outputter = _Outputter(opts)