Mercurial > hg
diff tests/printenv.py @ 13405:682edefe7dbb
tests: use printenv.py where it is - don't copy it around
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 15 Feb 2011 02:17:43 +0100 |
parents | 31a256ffe9e5 |
children | c19113e842d3 |
line wrap: on
line diff
--- 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)