graft: trim an InputError message
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 29 Nov 2024 20:03:22 -0500
changeset 52348 99615755fb8e
parent 52347 0facc743b92f
child 52349 662b08ac9869
graft: trim an InputError message This goes all the way back to its introduction in 3c0d5016b2be. There don't seem to be any i18n strings right now, nor any test coverage, but I suspect this was a mistake. Smaller, more digestable files FTW.
mercurial/cmd_impls/graft.py
--- a/mercurial/cmd_impls/graft.py	Fri Nov 29 19:24:07 2024 -0500
+++ b/mercurial/cmd_impls/graft.py	Fri Nov 29 20:03:22 2024 -0500
@@ -116,7 +116,7 @@
     if not revs:
         return "ERROR", None, None
     if basectx is not None and len(revs) != 1:
-        raise error.InputError(_(b'only one revision allowed with --base '))
+        raise error.InputError(_(b'only one revision allowed with --base'))
 
     # Don't check in the --continue case, in effect retaining --force across
     # --continues. That's because without --force, any revisions we decided to