Mercurial > public > mercurial-scm > hg-stable
diff hgext/uncommit.py @ 47438:7f7457f84311
cmdutil: make resolvecommitoptions() work on str-keyed opts
As with `checknotesize()`, I also changed to snake_case while at it,
to help extensions a little.
Differential Revision: https://phab.mercurial-scm.org/D10863
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 10 Jun 2021 15:45:22 -0700 |
parents | 54849b65dc5f |
children | 4f01821fa0ec |
line wrap: on
line diff
--- a/hgext/uncommit.py Thu Jun 10 14:55:10 2021 -0700 +++ b/hgext/uncommit.py Thu Jun 10 15:45:22 2021 -0700 @@ -154,8 +154,8 @@ given. """ cmdutil.check_note_size(opts) + cmdutil.resolve_commit_options(ui, opts) opts = pycompat.byteskwargs(opts) - cmdutil.resolvecommitoptions(ui, opts) with repo.wlock(), repo.lock():