author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
Tue, 14 Mar 2017 23:46:48 -0700 | |
changeset 31407 | b8848750a3c1 |
parent 31406 | e83302d43748 |
child 31408 | 6e3c79bc9a35 |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py Mon Mar 13 21:43:17 2017 -0700 +++ b/hgext/mq.py Tue Mar 14 23:46:48 2017 -0700 @@ -3439,7 +3439,9 @@ raise error.Abort(errmsg) def commit(self, text="", user=None, date=None, match=None, - force=False, editor=False, extra={}): + force=False, editor=False, extra=None): + if extra is None: + extra = {} self.abortifwdirpatched( _('cannot commit over an applied mq patch'), force)