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: bugzi...@selenic.com
          Reporter: marcin.kasper...@mekk.waw.pl
                CC: mercurial-de...@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to