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 |
|
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 |
|
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 = {} |
General Comments 0
You need to be logged in to leave comments.
Login now