Patchwork [1,of,4] tests: test coverage for empty graft

login
register
mail settings
Submitter Mads Kiilerich
Date Dec. 9, 2014, 3:11 a.m.
Message ID <5545c622f220758c8201.1418094715@localhost.localdomain>
Download mbox | patch
Permalink /patch/7028/
State Accepted
Commit e172a1f2b5bbbfd9e3f010c56bdb5b63f811bd20
Headers show

Comments

Mads Kiilerich - Dec. 9, 2014, 3:11 a.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1418092675 -3600
#      Tue Dec 09 03:37:55 2014 +0100
# Node ID 5545c622f220758c820170605111729d8b293224
# Parent  b46876c94a935f570ac915ff3d345583c42989bd
tests: test coverage for empty graft

A future change will add a warning to the quiet rebase.

Patch

diff --git a/tests/test-graft.t b/tests/test-graft.t
--- a/tests/test-graft.t
+++ b/tests/test-graft.t
@@ -710,3 +710,10 @@  but do some destructive editing of the r
   $ 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