grab: add short version for continue and abort
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Mar 2018 00:00:02 -0500
changeset 3522 7fa887cb1a6e
parent 3521 b738bfbef3a0
child 3523 63bba357a1b4
grab: add short version for continue and abort
hgext3rd/evolve/cmdrewrite.py
tests/test-grab.t
--- a/hgext3rd/evolve/cmdrewrite.py	Fri Feb 23 20:27:17 2018 +0800
+++ b/hgext3rd/evolve/cmdrewrite.py	Wed Mar 07 00:00:02 2018 -0500
@@ -1155,8 +1155,8 @@
 @eh.command(
     'grab',
     [('r', 'rev', '', 'revision to grab'),
-     ('', 'continue', False, 'continue interrupted grab'),
-     ('', 'abort', False, 'abort interrupted grab'),
+     ('c', 'continue', False, 'continue interrupted grab'),
+     ('a', 'abort', False, 'abort interrupted grab'),
     ],
     _('[-r] rev'))
 def grab(ui, repo, *revs, **opts):
--- a/tests/test-grab.t	Fri Feb 23 20:27:17 2018 +0800
+++ b/tests/test-grab.t	Wed Mar 07 00:00:02 2018 -0500
@@ -24,8 +24,8 @@
   options:
   
    -r --rev VALUE revision to grab
-      --continue  continue interrupted grab
-      --abort     abort interrupted grab
+   -c --continue  continue interrupted grab
+   -a --abort     abort interrupted grab
   
   (some details hidden, use --verbose to show complete help)