##// END OF EJS Templates
update test-merge-types
Matt Mackall -
r5710:026eb800 default
parent child Browse files
Show More
@@ -1,38 +1,39 b''
1 1 #!/bin/sh
2 2
3 3 hg init
4 4 echo a > a
5 5 hg ci -Amadd # 0
6 6
7 7 chmod +x a
8 8 hg ci -mexecutable # 1
9 9
10 10 hg up 0
11 11 rm a
12 12 ln -s symlink a
13 13 hg ci -msymlink # 2
14 14 hg merge --debug
15 15
16 16 echo % symlink is local parent, executable is other
17 17
18 18 if [ -h a ]; then
19 19 echo a is a symlink
20 20 $TESTDIR/readlink.py a
21 21 elif [ -x a ]; then
22 22 echo a is executable
23 else
24 echo "a has no flags (default for conflicts)"
23 25 fi
24 26
25 27 hg update -C 1
26 28 hg merge --debug
27 29
28 30 echo % symlink is other parent, executable is local
29 31
30 32 if [ -h a ]; then
31 33 echo a is a symlink
32 34 $TESTDIR/readlink.py a
33 35 elif [ -x a ]; then
34 36 echo a is executable
37 else
38 echo "a has no flags (default for conflicts)"
35 39 fi
36
37 echo "skipped: test is for a known, unfixed bug"
38 exit 80
@@ -1,1 +1,22 b''
1 ### This test is for a known, unfixed bug ###
1 adding a
2 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
3 resolving manifests
4 overwrite None partial False
5 ancestor c334dc3be0da local 521a1e40188f+ remote 3574f3e69b1c
6 searching for copies back to rev 1
7 a: update permissions -> e
8 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
9 (branch merge, don't forget to commit)
10 % symlink is local parent, executable is other
11 a has no flags (default for conflicts)
12 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
13 resolving manifests
14 overwrite None partial False
15 ancestor c334dc3be0da local 3574f3e69b1c+ remote 521a1e40188f
16 searching for copies back to rev 1
17 a: remote is newer -> g
18 getting a
19 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
20 (branch merge, don't forget to commit)
21 % symlink is other parent, executable is local
22 a has no flags (default for conflicts)
General Comments 0
You need to be logged in to leave comments. Login now