##// END OF EJS Templates
Remove trailing ! from two error messages as this was confusing.
Thomas Arendsen Hein -
r6057:218d5b9a default
parent child Browse files
Show More
@@ -963,7 +963,7 b' def grep(ui, repo, pattern, *pats, **opt'
963 try:
963 try:
964 regexp = re.compile(pattern, reflags)
964 regexp = re.compile(pattern, reflags)
965 except Exception, inst:
965 except Exception, inst:
966 ui.warn(_("grep: invalid match pattern: %s!\n") % inst)
966 ui.warn(_("grep: invalid match pattern: %s\n") % inst)
967 return None
967 return None
968 sep, eol = ':', '\n'
968 sep, eol = ':', '\n'
969 if opts['print0']:
969 if opts['print0']:
@@ -286,7 +286,7 b' class dirstate(object):'
286 self._changepath(f, '?')
286 self._changepath(f, '?')
287 del self._map[f]
287 del self._map[f]
288 except KeyError:
288 except KeyError:
289 self._ui.warn(_("not in dirstate: %s!\n") % f)
289 self._ui.warn(_("not in dirstate: %s\n") % f)
290
290
291 def clear(self):
291 def clear(self):
292 self._map = {}
292 self._map = {}
@@ -1,5 +1,5 b''
1 % pattern error
1 % pattern error
2 grep: invalid match pattern: nothing to repeat!
2 grep: invalid match pattern: nothing to repeat
3 % simple
3 % simple
4 port:4:export
4 port:4:export
5 port:4:vaportight
5 port:4:vaportight
General Comments 0
You need to be logged in to leave comments. Login now