unknown command fixups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
unknown command fixups
from Andrew Thompson
manifest hash:
3ed1956585a905a52d93491ea95096be23c9acf8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCpVTaywK+sNU5EO8RAkvLAJ0ff8/kVQc93jGy5t1uJ5R8m0M4OACfZ1Ba
O7CldaLkwEzqybw/5iL6NAw=
=WGtU
-----END PGP SIGNATURE-----
--- 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)