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.
--- 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