changeset 23504:e172a1f2b5bb

tests: test coverage for empty graft A future change will add a warning to the quiet rebase.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 09 Dec 2014 03:37:55 +0100
parents ca54fb3d71ce
children bd5dbb8a05c8
files tests/test-graft.t
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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