Mercurial > hg-stable
changeset 2804:4b20daa25f15
Update mq to use new logmessage arglist from 2794:bd8a9a94139f
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 07 Aug 2006 14:12:03 -0700 |
parents | 987c31e2a08c |
children | 90a4181ca9ed 52516e48e3f3 |
files | hgext/mq.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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