hgext/mq.py
branchstable
changeset 20768 57d0c8c3b947
parent 20119 1648e44edd8d
child 20769 1e686e55780c
--- a/hgext/mq.py	Wed Mar 19 01:07:41 2014 +0900
+++ b/hgext/mq.py	Wed Mar 19 01:07:41 2014 +0900
@@ -1083,6 +1083,7 @@
                         p.write("# Date %s %s\n\n" % date)
                 if util.safehasattr(msg, '__call__'):
                     msg = msg()
+                    repo.savecommitmessage(msg)
                 commitmsg = msg and msg or ("[mq]: %s" % patchfn)
                 n = newcommit(repo, None, commitmsg, user, date, match=match,
                               force=True)