]> thyrsus.com Git - src.git/commitdiff
Regularize more messages. Regression test passes.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 12 Nov 2014 22:17:44 +0000 (17:17 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 12 Nov 2014 22:17:44 +0000 (17:17 -0500)
src

diff --git a/src b/src
index c3951a509a7cbdd09817a4553b72131f94ec606a..4b67786add62d64c4d02d9f1ed59446a7a7b5b47 100755 (executable)
--- a/src
+++ b/src
@@ -739,16 +739,16 @@ def tag_helper(args, legend, validation_hook, delete_method, set_method):
             name = args.pop(0)
             ctx = CommandContext(legend, args)
             if not ctx.is_empty():
-                croak("can't accept a revision-spec when %s deleting." % legend)
+                croak("can't accept a revision-spec when deleting a %s." % legend)
             for arg in ctx.args:
                 metadata = History(arg)
                 if name not in metadata.symbols:
-                    croak("%s is not a %s in %s" % (name, legend, arg))
+                    croak("in %s, %s is not a %s" % (arg, name, legend))
                 else:
                     with backend.lifter(arg):
                         delete_method(name, arg)
                     if not quiet and len(args) > 1:
-                        announce("%s %s removed from %s" % (legend, name, arg))
+                        announce("in %s, %s %s removed" % (arg, legend, name))
                 return
         if args[0] in ("-l", "list"):
             args.pop(0)