author | Alexander Solovyov <piranha@piranha.org.ua> |
Mon, 19 Jan 2009 12:38:54 +0200 | |
changeset 7667 | bd5c37d792e6 |
parent 7666 | 2ad81e9b075b |
child 7669 | ca39dbc589c9 |
--- a/mercurial/cmdutil.py Mon Jan 19 00:36:32 2009 +0100 +++ b/mercurial/cmdutil.py Mon Jan 19 12:38:54 2009 +0200 @@ -68,8 +68,8 @@ def logmessage(opts): """ get the log message according to -m and -l option """ - message = opts['message'] - logfile = opts['logfile'] + message = opts.get('message') + logfile = opts.get('logfile') if message and logfile: raise util.Abort(_('options --message and --logfile are mutually '