test-merge6: avoid a shell script

This commit is contained in:
Alexis S. L. Carvalho 2007-03-27 01:41:18 -03:00
parent 03fea0246c
commit 91aeb4643e

View File

@ -1,11 +1,10 @@
#!/bin/sh
cat <<'EOF' > merge
#!/bin/sh
echo merging for `basename $1`
cat <<EOF > merge
import sys, os
print "merging for", os.path.basename(sys.argv[1])
EOF
chmod +x merge
HGMERGE=./merge; export HGMERGE
HGMERGE="python ../merge"; export HGMERGE
mkdir A1
cd A1