[PATCH 1 of 2 STABLE] setup: remove duplicate assignment of HGRCPATH

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Oct 24 03:19:00 UTC 2017


# HG changeset patch
# User Kevin Bullock <kbullock+mercurial at ringworld.org>
# Date 1508812259 18000
#      Mon Oct 23 21:30:59 2017 -0500
# Branch stable
# Node ID f13a8d056d6ebf490e65096391fdcd5916197f48
# Parent  27481162780894fb82e4b2f679f967a3a86cbc3b
setup: remove duplicate assignment of HGRCPATH

HGRCPATH is already set in localhgenv().

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -249,8 +249,6 @@ def findhg():
 
     # Fall back to trying the local hg installation.
     hgenv = localhgenv()
-    # Don't source any system hgrc files when using the local hg.
-    hgenv['HGRCPATH'] = ''
     hgcmd = [sys.executable, 'hg']
     try:
         retcode, out, err = runcmd(hgcmd + check_cmd, hgenv)


More information about the Mercurial-devel mailing list