##// END OF EJS Templates
test-filebranch: avoid a shell script
Alexis S. L. Carvalho -
r4293:b0140ead default
parent child Browse files
Show More
@@ -3,11 +3,11 b''
3 # This test makes sure that we don't mark a file as merged with its ancestor
3 # This test makes sure that we don't mark a file as merged with its ancestor
4 # when we do a merge.
4 # when we do a merge.
5
5
6 cat <<'EOF' > merge
6 cat <<EOF > merge
7 #!/bin/sh
7 import sys, os
8 echo merging for `basename $1`
8 print "merging for", os.path.basename(sys.argv[1])
9 EOF
9 EOF
10 chmod +x merge
10 HGMERGE="python ../merge"; export HGMERGE
11
11
12 echo creating base
12 echo creating base
13 hg init a
13 hg init a
@@ -41,7 +41,7 b' hg debugstate | cut -b 1-16,35-'
41
41
42 echo merging
42 echo merging
43 hg pull ../a
43 hg pull ../a
44 env HGMERGE=../merge hg merge -v
44 hg merge -v
45
45
46 echo 2m > foo
46 echo 2m > foo
47 echo 2b > baz
47 echo 2b > baz
General Comments 0
You need to be logged in to leave comments. Login now