mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
test-merge6: avoid a shell script
This commit is contained in:
parent
03fea0246c
commit
91aeb4643e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user