Mercurial > hg
changeset 6507:9699864de219
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Tue, 08 Apr 2008 13:19:36 +0200 |
parents | 850071c017fa |
children | 4b2c266bf059 |
files | mercurial/util.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Wed Apr 09 14:12:32 2008 +0200 +++ b/mercurial/util.py Tue Apr 08 13:19:36 2008 +0200 @@ -243,8 +243,8 @@ return pipefilter(s, cmd) def binary(s): - """return true if a string is binary data using diff's heuristic""" - if s and '\0' in s[:4096]: + """return true if a string is binary data""" + if s and '\0' in s: return True return False