Show More
@@ -3,11 +3,13 b'' | |||||
3 | mkdir -p t |
|
3 | mkdir -p t | |
4 | cd t |
|
4 | cd t | |
5 |
|
5 | |||
6 |
cat << |
|
6 | cat <<EOF > merge | |
7 | #!/bin/sh |
|
7 | import sys, os | |
8 | echo merge $1 $2 $3 > $1 |
|
8 | f = open(sys.argv[1], "wb") | |
|
9 | f.write("merge %s %s %s" % (sys.argv[1], sys.argv[2], sys.argv[3])) | |||
|
10 | f.close() | |||
9 | EOF |
|
11 | EOF | |
10 | chmod +x merge |
|
12 | HGMERGE="python ../merge"; export HGMERGE | |
11 |
|
13 | |||
12 | # perform a test merge with possible renaming |
|
14 | # perform a test merge with possible renaming | |
13 | # |
|
15 | # | |
@@ -49,7 +51,7 b' tm()' | |||||
49 | echo "--------------" |
|
51 | echo "--------------" | |
50 | echo "test L:$1 R:$2 W:$3 - $4" |
|
52 | echo "test L:$1 R:$2 W:$3 - $4" | |
51 | echo "--------------" |
|
53 | echo "--------------" | |
52 |
|
|
54 | hg merge -y --debug --traceback | |
53 |
|
55 | |||
54 | echo "--------------" |
|
56 | echo "--------------" | |
55 | hg status -camC -X rev |
|
57 | hg status -camC -X rev |
General Comments 0
You need to be logged in to leave comments.
Login now