Update mq to use new logmessage arglist from 2794:bd8a9a94139f
authorBrendan Cully <brendan@kublai.com>
Mon, 07 Aug 2006 14:12:03 -0700
changeset 2804 4b20daa25f15
parent 2803 987c31e2a08c
child 2805 90a4181ca9ed
child 2816 52516e48e3f3
Update mq to use new logmessage arglist from 2794:bd8a9a94139f
hgext/mq.py
--- a/hgext/mq.py	Mon Aug 07 16:47:06 2006 -0500
+++ b/hgext/mq.py	Mon Aug 07 14:12:03 2006 -0700
@@ -1283,7 +1283,7 @@
     If neither is specified, the patch header is empty and the
     commit message is 'New patch: PATCH'"""
     q = repo.mq
-    message = commands.logmessage(**opts)
+    message = commands.logmessage(opts)
     q.new(repo, patch, msg=message, force=opts['force'])
     q.save_dirty()
     return 0
@@ -1291,7 +1291,7 @@
 def refresh(ui, repo, **opts):
     """update the current patch"""
     q = repo.mq
-    message = commands.logmessage(**opts)
+    message = commands.logmessage(opts)
     if opts['edit']:
         if message:
             raise util.Abort(_('option "-e" incompatible with "-m" or "-l"'))
@@ -1328,7 +1328,7 @@
     if not q.check_toppatch(repo):
         raise util.Abort(_('No patches applied\n'))
 
-    message = commands.logmessage(**opts)
+    message = commands.logmessage(opts)
     if opts['edit']:
         if message:
             raise util.Abort(_('option "-e" incompatible with "-m" or "-l"'))
@@ -1505,7 +1505,7 @@
 def save(ui, repo, **opts):
     """save current queue state"""
     q = repo.mq
-    message = commands.logmessage(**opts)
+    message = commands.logmessage(opts)
     ret = q.save(repo, msg=message)
     if ret:
         return ret