mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
graft: pass 'editform' argument to 'cmdutil.getcommiteditor'
This patch passes 'editform' argument according to the format below: COMMAND[.ROUTE] - ROUTE: name of route, if there are two or more routes in COMMAND In this patch, ROUTE is omitted.
This commit is contained in:
parent
70a66564d9
commit
c911495421
@ -3128,7 +3128,7 @@ def graft(ui, repo, *revs, **opts):
|
||||
if not opts.get('date') and opts.get('currentdate'):
|
||||
opts['date'] = "%d %d" % util.makedate()
|
||||
|
||||
editor = cmdutil.getcommiteditor(**opts)
|
||||
editor = cmdutil.getcommiteditor(editform='graft', **opts)
|
||||
|
||||
cont = False
|
||||
if opts['continue']:
|
||||
|
Loading…
Reference in New Issue
Block a user