Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 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 | cfb4a51da7d5 |
children | ea33f695304a |
comparison
equal
deleted
inserted
replaced
6056:0ad2ffbf6b38 | 6057:218d5b9aa466 |
---|---|
961 if opts['ignore_case']: | 961 if opts['ignore_case']: |
962 reflags |= re.I | 962 reflags |= re.I |
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']: |
970 sep = eol = '\0' | 970 sep = eol = '\0' |
971 | 971 |