##// END OF EJS Templates
cmdutil.logmessage: options should be optional
Alexander Solovyov -
r7667:bd5c37d7 default
parent child Browse files
Show More
@@ -68,8 +68,8 b' def bail_if_changed(repo):'
68 68
69 69 def logmessage(opts):
70 70 """ get the log message according to -m and -l option """
71 message = opts['message']
72 logfile = opts['logfile']
71 message = opts.get('message')
72 logfile = opts.get('logfile')
73 73
74 74 if message and logfile:
75 75 raise util.Abort(_('options --message and --logfile are mutually '
General Comments 0
You need to be logged in to leave comments. Login now