[Bug 5426] New: hg config --edit doesn't respect HGRCPATH
bugzilla at mercurial-scm.org
bugzilla at mercurial-scm.org
Sun Nov 13 20:11:02 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5426
Bug ID: 5426
Summary: hg config --edit doesn't respect HGRCPATH
Product: Mercurial
Version: stable branch
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: Marcin.Kasperski at mekk.waw.pl
CC: mercurial-devel at selenic.com
(not very important, but stillâ¦)
Even if I set HGRCPATH environment variable to something, the
hg config --edit
command opens my default hgrc. For example
$ mkdir ~/tmp/otherworld
$ export HGRCPATH=$HOME/tmp/otherworld
$ echo '[ui]' > $HGRCPATH/.hgrc
$ hg config --edit
(last command spawns my editor on ~/.hgrc, I'd expect it to open
~/tmp/otherworld/.hgrc which is configured as hg config at the moment, and
really works as one)
Tested on hg 3.7.3 and hg 4.0.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list