Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 38652:bfcd5c7cbf9a
grep: restore pre-9ef10437bb88 behavior, enable wdir search by tweakdefaults
Unfortunately, python-hglib relies on the original grep behavior and is
documented as such. Even though we agreed to introduce the BC, we shouldn't
break existing libraries.
So this patch flips the default again and move the new default to
ui.tweakdefaults. We could instead use HGPLAIN to turn this flag off, but
that would be rather confusing as the old/new behaviors are quite different.
Differential Revision: https://phab.mercurial-scm.org/D3919
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 11 Jul 2018 22:06:04 +0900 |
parents | 5e4027db52f4 |
children | aa21a9ad46ea |
comparison
equal
deleted
inserted
replaced
38651:5e4027db52f4 | 38652:bfcd5c7cbf9a |
---|---|
186 ) | 186 ) |
187 coreconfigitem('color', 'pagermode', | 187 coreconfigitem('color', 'pagermode', |
188 default=dynamicdefault, | 188 default=dynamicdefault, |
189 ) | 189 ) |
190 coreconfigitem('commands', 'grep.all-files', | 190 coreconfigitem('commands', 'grep.all-files', |
191 default=True, | 191 default=False, |
192 ) | 192 ) |
193 coreconfigitem('commands', 'show.aliasprefix', | 193 coreconfigitem('commands', 'show.aliasprefix', |
194 default=list, | 194 default=list, |
195 ) | 195 ) |
196 coreconfigitem('commands', 'status.relative', | 196 coreconfigitem('commands', 'status.relative', |