##// END OF EJS Templates
add --debug to test-merge-types
Matt Mackall -
r5701:32c28326 default
parent child Browse files
Show More
@@ -1,39 +1,38 b''
1 1 #!/bin/sh
2 2
3 3 hg init
4 4 echo a > a
5 hg ci -Amadd
5 hg ci -Amadd # 0
6 6
7 7 chmod +x a
8 hg ci -mexecutable
8 hg ci -mexecutable # 1
9 9
10 10 hg up 0
11 11 rm a
12 12 ln -s symlink a
13 hg ci -msymlink
13 hg ci -msymlink # 2
14 hg merge --debug
14 15
15 hg merge
16
17 echo % symlink is left parent, executable is right
16 echo % symlink is local parent, executable is other
18 17
19 18 if [ -h a ]; then
20 19 echo a is a symlink
21 20 $TESTDIR/readlink.py a
22 21 elif [ -x a ]; then
23 22 echo a is executable
24 23 fi
25 24
26 25 hg update -C 1
27 hg merge
26 hg merge --debug
28 27
29 echo % symlink is right parent, executable is left
28 echo % symlink is other parent, executable is local
30 29
31 30 if [ -h a ]; then
32 31 echo a is a symlink
33 32 $TESTDIR/readlink.py a
34 33 elif [ -x a ]; then
35 34 echo a is executable
36 35 fi
37 36
38 37 echo "skipped: test is for a known, unfixed bug"
39 38 exit 80
General Comments 0
You need to be logged in to leave comments. Login now