tests: test coverage for empty graft
authorMads Kiilerich <madski@unity3d.com>
Tue, 09 Dec 2014 03:37:55 +0100
changeset 23504 e172a1f2b5bb
parent 23503 ca54fb3d71ce
child 23505 bd5dbb8a05c8
tests: test coverage for empty graft A future change will add a warning to the quiet rebase.
tests/test-graft.t
--- a/tests/test-graft.t	Sun Dec 07 10:54:29 2014 -0500
+++ b/tests/test-graft.t	Tue Dec 09 03:37:55 2014 +0100
@@ -710,3 +710,10 @@
   $ hg graft tmp
   skipping already grafted revision 8 (2 also has unknown origin 5c095ad7e90f871700f02dd1fa5012cb4498a2d4)
   [255]
+
+Empty graft
+
+  $ hg up -qr 26
+  $ hg tag -f something
+  $ hg graft -qr 27
+  $ hg graft -qf 27