tests/printenv.py
changeset 13405 682edefe7dbb
parent 13404 31a256ffe9e5
child 16963 c19113e842d3
--- a/tests/printenv.py	Tue Feb 15 01:05:32 2011 +0100
+++ b/tests/printenv.py	Tue Feb 15 02:17:43 2011 +0100
@@ -1,12 +1,9 @@
 # simple script to be used in hooks
-# copy it to the current directory when the test starts:
-#
-#     cp "$TESTDIR"/printenv.py .
 #
 # put something like this in the repo .hg/hgrc:
 #
 #     [hooks]
-#     changegroup = python ../printenv.py <hookname> [exit] [output]
+#     changegroup = python "$TESTDIR"/printenv.py <hookname> [exit] [output]
 #
 #   - <hookname> is a mandatory argument (e.g. "changegroup")
 #   - [exit] is the exit code of the hook (default: 0)