diff tests/test-graft.t @ 28121:bd97ed121016

graft: suggest the correct tool to continue (not graft) Add test coverage for graft --continue without starting. Suggest committing (or whatever the current activity is), via wrongtooltocontinue which uses howtocontinue.
author timeless <timeless@mozdev.org>
date Thu, 04 Feb 2016 03:45:44 +0000
parents b59ef0c21405
children 564a354f7f35
line wrap: on
line diff
--- a/tests/test-graft.t	Sun Feb 14 16:16:17 2016 +0000
+++ b/tests/test-graft.t	Thu Feb 04 03:45:44 2016 +0000
@@ -46,6 +46,13 @@
   |
   o  test@0.public: 0
   
+Can't continue without starting:
+
+  $ hg rm -q e
+  $ hg graft --continue
+  abort: no graft in progress
+  [255]
+  $ hg revert -r . -q e
 
 Need to specify a rev: