changeset 52348:99615755fb8e

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.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 29 Nov 2024 20:03:22 -0500
parents 0facc743b92f
children 662b08ac9869
files mercurial/cmd_impls/graft.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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