hgsubversion-queue / hgrcpath.diff

# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr@gmail.com>
# Date 1323817677 -3600
# Node ID 1c10e9fd30805c11f9679fbafb237a50b576d31e
# Parent  bfba4f40b62cdcde7a9cd7895b2942eab57fb750
tests: set HGRCPATH to disable user configuration

diff --git a/tests/run.py b/tests/run.py
--- a/tests/run.py
+++ b/tests/run.py
@@ -85,6 +85,9 @@ if __name__ == '__main__':
     if options.bindings:
         os.environ['HGSUBVERSION_BINDINGS'] = options.bindings
+    # suppress user configuration of Mercurial
+    os.environ['HGRCPATH'] = os.devnull
     # make sure our copy of hgsubversion gets imported by loading test_util
     import test_util
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.