[issue2614] hg grep returns binary content clobbering the terminal

merijn bugs at mercurial.selenic.com
Wed Feb 2 11:30:07 UTC 2011


New submission from merijn <merijn at inconsistent.nl>:

When "hg grep" finds matches in binary files it prints these to the terminal, 
should this produce print outs which contain terminal control sequences, the 
terminal settings get clobbered. The sensible default should be to print a 
notice (like grep) "Binary file X matches.".

----------
messages: 15071
nosy: merijn
priority: bug
status: unread
title: hg grep returns binary content clobbering the terminal
topic: hg

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2614>
____________________________________________________


More information about the Mercurial-devel mailing list