diff tests/printenv.py @ 13404:31a256ffe9e5

tests: let printenv.py show the real values Test paths are now hidden by the test framework, so HG_URL no longer needs mangling.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 15 Feb 2011 01:05:32 +0100
parents bb35840e965c
children 682edefe7dbb
line wrap: on
line diff
--- a/tests/printenv.py	Tue Feb 15 01:04:10 2011 +0100
+++ b/tests/printenv.py	Tue Feb 15 01:05:32 2011 +0100
@@ -39,13 +39,6 @@
        if k.startswith("HG_") and v]
 env.sort()
 
-# edit the variable part of the variable
-url = os.environ.get("HG_URL", "")
-if url.startswith("file:"):
-    os.environ["HG_URL"] = "file:"
-elif url.startswith("remote:http"):
-    os.environ["HG_URL"] = "remote:http"
-
 out.write("%s hook: " % name)
 for v in env:
     out.write("%s=%s " % (v, os.environ[v]))