diff tests/test-transplant.t @ 15204:3ce9b1a7538b

transplant: wrap a transaction around the whole command
author Greg Ward <greg@gerg.ca>
date Tue, 04 Oct 2011 19:43:45 -0400
parents e456084a3ecc
children c5c9ca3719f9
line wrap: on
line diff
--- a/tests/test-transplant.t	Fri Oct 07 17:08:24 2011 -0500
+++ b/tests/test-transplant.t	Tue Oct 04 19:43:45 2011 -0400
@@ -81,6 +81,19 @@
   1 
   0 
 
+rollback the transplant
+  $ hg rollback
+  repository tip rolled back to revision 4 (undo transplant)
+  working directory now based on revision 1
+  $ hg tip -q
+  4:a53251cdf717
+  $ hg parents -q
+  1:d11e3596cc1a
+  $ hg status
+  ? b1
+  ? b2
+  ? b3
+
   $ hg clone ../t ../prune
   updating to branch default
   4 files updated, 0 files merged, 0 files removed, 0 files unresolved