##// END OF EJS Templates
Tests for issue 1049
Bryan O'Sullivan -
r6386:bae2e9c8 1.0 default
parent child Browse files
Show More
@@ -85,4 +85,22 b' hg log .'
85 85 cd ..
86 86 cd ..
87 87
88 cd ..
89 hg init issue1049
90 cd issue1049
91 echo a > a
92 hg ci -Ama
93 echo a >> a
94 hg ci -mb
95 hg up 0
96 echo b >> a
97 hg ci -mc
98 HGMERGE=true hg merge
99 echo % should fail because we are specifying a file name
100 hg ci -mmerge a
101 echo % should fail because we are specifying a pattern
102 hg ci -mmerge -I a
103 echo % should succeed
104 hg ci -mmerge
105
88 106 exit 0
@@ -92,3 +92,14 b' user: test'
92 92 date: Mon Jan 12 13:46:40 1970 +0000
93 93 summary: commit-foo-subdir
94 94
95 adding a
96 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
97 created new head
98 merging a
99 0 files updated, 1 files merged, 0 files removed, 0 files unresolved
100 (branch merge, don't forget to commit)
101 % should fail because we are specifying a file name
102 abort: cannot partially commit a merge (do not specify files or patterns)
103 % should fail because we are specifying a pattern
104 abort: cannot partially commit a merge (do not specify files or patterns)
105 % should succeed
General Comments 0
You need to be logged in to leave comments. Login now