grab: prefix function with 'cmd' as for the other command in the extension
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 31 Aug 2018 09:08:13 +0200
changeset 4047 9c9d319adceb
parent 4046 669b32100eca
child 4048 d7034826c0a2
grab: prefix function with 'cmd' as for the other command in the extension
hgext3rd/evolve/cmdrewrite.py
--- a/hgext3rd/evolve/cmdrewrite.py	Thu Aug 30 19:40:18 2018 +0200
+++ b/hgext3rd/evolve/cmdrewrite.py	Fri Aug 31 09:08:13 2018 +0200
@@ -1322,7 +1322,7 @@
      ('a', 'abort', False, 'abort interrupted grab'),
     ],
     _('[-r] rev'))
-def grab(ui, repo, *revs, **opts):
+def cmdgrab(ui, repo, *revs, **opts):
     """grabs a commit, move it on the top of working directory parent and
     updates to it."""