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

login
register
mail settings
Submitter Kevin Bullock
Date Oct. 24, 2017, 3:19 a.m.
Message ID <f13a8d056d6ebf490e65.1508815140@ingalls.lan>
Download mbox | patch
Permalink /patch/25272/
State Accepted
Headers show

Comments

Kevin Bullock - Oct. 24, 2017, 3:19 a.m.
# HG changeset patch
# User Kevin Bullock <kbullock+mercurial@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().

Patch

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)