test-imerge: test resolve subcommand
authorPatrick Mezard <pmezard@gmail.com>
Sun, 23 Mar 2008 20:37:04 +0100
changeset 6363 bbfebf751ac8
parent 6362 bc3dbdb1d430
child 6364 b22b39059722
test-imerge: test resolve subcommand
tests/test-imerge
tests/test-imerge.out
--- a/tests/test-imerge	Sun Mar 23 20:37:02 2008 +0100
+++ b/tests/test-imerge	Sun Mar 23 20:37:04 2008 +0100
@@ -33,6 +33,12 @@
 echo % next
 hg imerge next
 
+echo % resolve and unresolve
+hg imerge resolve foo
+hg -v imerge st
+hg imerge unresolve foo
+hg -v imerge st
+
 echo % merge next
 hg --traceback imerge
 
--- a/tests/test-imerge.out	Sun Mar 23 20:37:02 2008 +0100
+++ b/tests/test-imerge.out	Sun Mar 23 20:37:04 2008 +0100
@@ -15,6 +15,12 @@
 U foo (foo2)
 % next
 foo
+% resolve and unresolve
+merging e6da46716401 and 30d266f502e7
+R foo (foo2)
+all conflicts resolved
+merging e6da46716401 and 30d266f502e7
+U foo (foo2)
 % merge next
 merging foo and foo2
 all conflicts resolved