hgext/amend.py
changeset 47434 54849b65dc5f
parent 47433 6ce89165eaa0
child 48966 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'):