[Bug 4380] New: hg debuginstall doesn't understand "~" in ui.editor, reports a problem
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat Sep 20 20:29:52 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4380
Priority: normal
Bug ID: 4380
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hg debuginstall doesn't understand "~" in ui.editor,
reports a problem
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: engored at ya.ru
Hardware: PC
Status: UNCONFIRMED
Version: 3.1.1
Component: Mercurial
Product: Mercurial
I have this in my ~/.hgrc:
[ui]
editor = ~/.hgeditor
This is the output of hg debuginstall:
checking encoding (UTF-8)...
checking Python executable (/usr/bin/python)
checking Python version (2.7.8)
checking Python lib (/usr/lib/python2.7)...
checking installed modules (/home/a/hg/mercurial)...
checking templates (/home/a/hg/mercurial/templates)...
checking commit editor...
Can't find editor '~/.hgeditor' in PATH
(specify a commit editor in your configuration file)
checking username...
1 problems detected, please check your install!
hg version: 3.1.1+121-a5709386c5e6
But when I do hg commit, the ~/.hgeditor does get picked up, i.e. there is no
problem (I know that because the script shows the patch to-be-committed in a
split window). I think the problem is that debuginstall doesn't expand "~"
there.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list