# HG changeset patch # User Brendan Cully # Date 1154985123 25200 # Node ID 4b20daa25f1513fa03fe8815f224a9ad7fbf474d # Parent 987c31e2a08c24a2d923067c5fdb03349fc7bae7 Update mq to use new logmessage arglist from 2794:bd8a9a94139f diff -r 987c31e2a08c -r 4b20daa25f15 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