Closed by commit rHG5a5aee8ba980: commands: switch one call of 
check_at_most_one_arg to strings (authored by durin42).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs 
Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8222?vs=20484&id=20491

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8222/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8222

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -7665,7 +7665,7 @@
 
     Returns 0 on success, 1 if there are unresolved files.
     """
-    cmdutil.check_at_most_one_arg(opts, b'clean', b'check', b'merge')
+    cmdutil.check_at_most_one_arg(opts, 'clean', 'check', 'merge')
     rev = opts.get('rev')
     date = opts.get('date')
     clean = opts.get('clean')



To: durin42, #hg-reviewers, marmoute
Cc: marmoute, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to