[Bug 5827] New: Setting HG in environment breaks shell aliases
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Mon Mar 26 08:43:14 UTC 2018
https://bz.mercurial-scm.org/show_bug.cgi?id=5827
Bug ID: 5827
Summary: Setting HG in environment breaks shell aliases
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: durin42 at gmail.com
CC: mercurial-devel at mercurial-scm.org
Compare:
$ HG=false hg --config alias.narf='!$HG help narf' narf
[1]
$ hg --config alias.narf='!$HG help narf' narf
abort: no such help topic: narf
(try 'hg help --keyword narf')
[255]
It seems to me that we should clobber any existing $HG in the environment with
ourselves when we're invoking a shell alias.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list