[Bug 4247] New: hg config should return a non-zero exit code when looking for a non-existent option
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Tue May 13 16:20:28 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4247
Priority: normal
Bug ID: 4247
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hg config should return a non-zero exit code when
looking for a non-existent option
Severity: bug
Classification: Unclassified
OS: All
Reporter: akushner at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 3.0-rc
Component: Mercurial
Product: Mercurial
$ hg config extension.i_dont_exist
$ echo $?
0
Should really exit other than 0 when the config option does not exist. What it
currently does is return a newline for extensions that exist (and the option
doesn't have anything on the right hand side of the =).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list