changeset 6057:218d5b9aa466

Remove trailing ! from two error messages as this was confusing.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 09 Feb 2008 19:13:57 +0100
parents 0ad2ffbf6b38
children 88b4d726332a
files mercurial/commands.py mercurial/dirstate.py tests/test-grep.out
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Feb 09 18:58:31 2008 +0100
+++ b/mercurial/commands.py	Sat Feb 09 19:13:57 2008 +0100
@@ -963,7 +963,7 @@
     try:
         regexp = re.compile(pattern, reflags)
     except Exception, inst:
-        ui.warn(_("grep: invalid match pattern: %s!\n") % inst)
+        ui.warn(_("grep: invalid match pattern: %s\n") % inst)
         return None
     sep, eol = ':', '\n'
     if opts['print0']:
--- a/mercurial/dirstate.py	Sat Feb 09 18:58:31 2008 +0100
+++ b/mercurial/dirstate.py	Sat Feb 09 19:13:57 2008 +0100
@@ -286,7 +286,7 @@
             self._changepath(f, '?')
             del self._map[f]
         except KeyError:
-            self._ui.warn(_("not in dirstate: %s!\n") % f)
+            self._ui.warn(_("not in dirstate: %s\n") % f)
 
     def clear(self):
         self._map = {}
--- a/tests/test-grep.out	Sat Feb 09 18:58:31 2008 +0100
+++ b/tests/test-grep.out	Sat Feb 09 19:13:57 2008 +0100
@@ -1,5 +1,5 @@
 % pattern error
-grep: invalid match pattern: nothing to repeat!
+grep: invalid match pattern: nothing to repeat
 % simple
 port:4:export
 port:4:vaportight