mercurial/commands.py
changeset 268 1634a7ea6748
parent 266 4af7677de4a9
child 270 5a80ed2158c8
--- a/mercurial/commands.py	Tue Jun 07 00:00:56 2005 -0800
+++ b/mercurial/commands.py	Tue Jun 07 00:03:38 2005 -0800
@@ -77,7 +77,7 @@
             ui.write("%s\n\n" % i[2])
             ui.write(i[0].__doc__, "\n")
         except UnknownCommand:
-            ui.warn("unknown command %s" % cmd)
+            ui.warn("hg: unknown command %s\n" % cmd)
         sys.exit(0)
     else:
         ui.status('hg commands:\n\n')
@@ -568,7 +568,7 @@
     try:
         i = find(cmd)
     except UnknownCommand:
-        u.warn("unknown command '%s'\n" % cmd)
+        u.warn("hg: unknown command '%s'\n" % cmd)
         help(u)
         sys.exit(1)