hgext/uncommit.py
changeset 47428 54849b65dc5f
parent 47012 d55b71393907
child 47432 7f7457f84311
--- a/hgext/uncommit.py	Thu Jun 10 10:53:43 2021 -0700
+++ b/hgext/uncommit.py	Thu Jun 10 14:25:16 2021 -0700
@@ -153,9 +153,8 @@
     If no files are specified, the commit will be pruned, unless --keep is
     given.
     """
+    cmdutil.check_note_size(opts)
     opts = pycompat.byteskwargs(opts)
-
-    cmdutil.checknotesize(ui, opts)
     cmdutil.resolvecommitoptions(ui, opts)
 
     with repo.wlock(), repo.lock():