hgext/shelve.py
changeset 22005 dabf8fb8a91e
parent 21852 37a5decc6924
child 22040 122fa73657c6
--- a/hgext/shelve.py	Sat Aug 02 21:46:26 2014 +0900
+++ b/hgext/shelve.py	Sat Aug 02 21:46:26 2014 +0900
@@ -178,8 +178,9 @@
         if hasmq:
             saved, repo.mq.checkapplied = repo.mq.checkapplied, False
         try:
+            editor = cmdutil.getcommiteditor(editform='shelve.shelve', **opts)
             return repo.commit(message, user, opts.get('date'), match,
-                               editor=cmdutil.getcommiteditor(**opts))
+                               editor=editor)
         finally:
             if hasmq:
                 repo.mq.checkapplied = saved