changeset 22001 | 135176a198d0 |
parent 21951 | 59af0b21ec31 |
child 22681 | 80b6919eb199 |
--- a/hgext/gpg.py Sat Aug 02 21:46:26 2014 +0900 +++ b/hgext/gpg.py Sat Aug 02 21:46:26 2014 +0900 @@ -277,8 +277,9 @@ % hgnode.short(n) for n in nodes]) try: + editor = cmdutil.getcommiteditor(editform='gpg.sign', **opts) repo.commit(message, opts['user'], opts['date'], match=msigs, - editor=cmdutil.getcommiteditor(**opts)) + editor=editor) except ValueError, inst: raise util.Abort(str(inst))