# HG changeset patch # User FUJIWARA Katsunori # Date 2014-08-02 12:46:27 # Node ID b02ab548ab5c364713533122354356c756518236 # Parent a5bb0c4001ae49f8f90e4a48d07e0e465ef19a03 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. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -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']: