D3826: grep: change default behaviour of grep

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Jul 6 23:02:40 EDT 2018


yuja added a comment.


  > +    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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3826

To: sangeet259, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list