Update mq to use new logmessage arglist from 2794:
bd8a9a94139f
--- 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