##// END OF EJS Templates
Test that we notice the empty files from the second parent during a merge...
Alexis S. L. Carvalho -
r3509:9de0e645 default
parent child Browse files
Show More
@@ -0,0 +1,25
1 #!/bin/sh
2
3 hg init a
4 cd a
5 touch empty1
6 hg add empty1
7 hg commit -m 'add empty1' -d '1000000 0'
8
9 touch empty2
10 hg add empty2
11 hg commit -m 'add empty2' -d '1000000 0'
12
13 hg up -C 0
14 touch empty3
15 hg add empty3
16 hg commit -m 'add empty3' -d '1000000 0'
17
18 hg heads
19
20 hg merge 1
21 # before changeset 05257fd28591, we didn't notice the
22 # empty file that came from rev 1.
23 hg status
24 hg commit -m merge -d '1000000 0'
25 hg manifest tip
@@ -0,0 +1,19
1 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
2 changeset: 2:62ec0e86d1e5
3 tag: tip
4 parent: 0:567dde5e6e98
5 user: test
6 date: Mon Jan 12 13:46:40 1970 +0000
7 summary: add empty3
8
9 changeset: 1:41ab7b321727
10 user: test
11 date: Mon Jan 12 13:46:40 1970 +0000
12 summary: add empty2
13
14 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
15 (branch merge, don't forget to commit)
16 M empty2
17 b80de5d138758541c5f05265ad144ab9fa86d1db 644 empty1
18 b80de5d138758541c5f05265ad144ab9fa86d1db 644 empty2
19 b80de5d138758541c5f05265ad144ab9fa86d1db 644 empty3
General Comments 0
You need to be logged in to leave comments. Login now