changeset 3522:7fa887cb1a6e

grab: add short version for continue and abort
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Mar 2018 00:00:02 -0500
parents b738bfbef3a0
children 63bba357a1b4
files hgext3rd/evolve/cmdrewrite.py tests/test-grab.t
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)