[Bug 6007] New: ui.tweakdefaults=false doesn't quite work
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Mon Oct 22 18:38:14 UTC 2018
https://bz.mercurial-scm.org/show_bug.cgi?id=6007
Bug ID: 6007
Summary: ui.tweakdefaults=false doesn't quite work
Product: Mercurial
Version: 4.7
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: vgatien-baron at janestreet.com
CC: mercurial-devel at mercurial-scm.org
I was looking at ui.tweakdefaults, and noticed and got a report of chg getting
stuck with the wrong setting, see test below.
I expect ui.tweakdefaults=false to mean "ignore any previous
ui.tweakdefaults=true" but that's not what happens. One can see weirdness even
without chg, so chg may not be the source of the problem.
$ hg init .
$ cat >> .hg/hgrc <<EOF
> [ui]
> tweakdefaults = true
> EOF
$ mkdir a
$ cd a
$ touch b
$ hg st # ok
? b
$ hg st --config ui.tweakdefaults=false # ok
? a/b
$ hg st --config ui.tweakdefaults=true --config ui.tweakdefaults=false #
weird?
? b
# Same thing as above with chg returns different result:
$ chg st # ok
? b
$ chg st --config ui.tweakdefaults=false # not ok
? b
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list