tests/printenv.py
changeset 13404 31a256ffe9e5
parent 12642 bb35840e965c
child 13405 682edefe7dbb
--- 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]))