tests/printenv.py
changeset 9399 f60f6f41978e
parent 7787 b8d750daadde
child 10282 08a0f04b56bd
--- a/tests/printenv.py	Tue Aug 18 14:47:41 2009 -0400
+++ b/tests/printenv.py	Wed Aug 19 00:45:24 2009 +0200
@@ -46,12 +46,9 @@
 elif url.startswith("remote:http"):
     os.environ["HG_URL"] = "remote:http"
 
-if "HG_PENDING" in os.environ:
-    os.environ["HG_PENDING"] = os.environ["HG_PENDING"] and "true"
-
 out.write("%s hook: " % name)
 for v in env:
-    out.write("%s=%s " % (v, os.environ[v]))
+    out.write("%s=%s " % (v, os.environ[v].replace(os.environ["HGTMP"], '$HGTMP')))
 out.write("\n")
 out.close()