Skip to content

Commit c1fd474

Browse files
Merge pull request #98 from RonnyPfannschmidt/reenable-hgrcpath
allow HGRCPATH env var - potentially fixes #97
2 parents 4d93251 + 1899597 commit c1fd474

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

setuptools_scm/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ def do_ex(cmd, cwd='.'):
5050
cwd=str(cwd),
5151
env=_always_strings(dict(
5252
os.environ,
53-
# disable hgrc processing other than .hg/hgrc
54-
HGRCPATH='',
5553
# try to disable i18n
5654
LC_ALL='C',
5755
LANGUAGE='',

testing/test_mercurial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,5 @@ def test_version_in_merge(wd):
9393
wd.commit_testfile()
9494
wd('hg up 0')
9595
wd.commit_testfile()
96-
wd('hg merge')
96+
wd('hg merge --tool :merge')
9797
assert wd.version is not None

0 commit comments

Comments
 (0)