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