changeset 47428 | 54849b65dc5f |
parent 47427 | 6ce89165eaa0 |
child 48875 | 6000f5b25c9b |
--- a/hgext/amend.py Thu Jun 10 10:53:43 2021 -0700 +++ b/hgext/amend.py Thu Jun 10 14:25:16 2021 -0700 @@ -16,7 +16,6 @@ from mercurial import ( cmdutil, commands, - pycompat, registrar, ) @@ -66,7 +65,7 @@ See :hg:`help commit` for more details. """ - cmdutil.checknotesize(ui, pycompat.byteskwargs(opts)) + cmdutil.check_note_size(opts) with repo.wlock(), repo.lock(): if not opts.get('logfile'):