diff tests/printenv.py @ 9399:f60f6f41978e

test-hooks: Don't hide the value of HG_PENDING Hiding the value of HG_PENDING made it less obvious what was going on in case of test failure
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 19 Aug 2009 00:45:24 +0200
parents b8d750daadde
children 08a0f04b56bd
line wrap: on
line diff
--- 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()