/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

Rename BzrCommandError to CommandError.

Merged from https://code.launchpad.net/~jelmer/brz/command-error/+merge/386136

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
    if not tree:
424
424
        msg = ('Cannot search working tree. Working tree not found.\n'
425
425
               'To search for specific revision in history use the -r option.')
426
 
        raise errors.BzrCommandError(msg)
 
426
        raise errors.CommandError(msg)
427
427
 
428
428
    # GZ 2010-06-02: Shouldn't be smuggling this on opts, but easy for now
429
429
    opts.outputter = _Outputter(opts)