D3826: grep: change default behaviour of grep

Yuya Nishihara yuya at tcha.org
Fri Jul 6 23:02:25 EDT 2018


> +    if not opts.get('rev'):
> +        opts.get('rev').append("wdir()")
> +        opts['allfiles'] = True

So, this breaks `hg grep --diff|--all`?

And this is a behavior change. We should at least document how we can get
back the original behavior.


More information about the Mercurial-devel mailing list