diff -r 31a256ffe9e5 -r 682edefe7dbb tests/printenv.py --- 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 [exit] [output] +# changegroup = python "$TESTDIR"/printenv.py [exit] [output] # # - is a mandatory argument (e.g. "changegroup") # - [exit] is the exit code of the hook (default: 0)