Adding very large text files is treated as binary
Matt Mackall
mpm at selenic.com
Sun Nov 29 19:20:42 CST 2009
On Mon, 2009-11-30 at 01:44 +0100, Trond Olsen wrote:
> Is there a way to force very large text files to not be treated as
> binary files?
First, Mercurial does not make an internal distinction between text and
binary files: all files are considered 'binary' internally. It only
distinguishes text from binary when outputting textual diffs and similar
operations.
Second, binary detection is based solely on the presence of NUL
characters in a file, not on length. Binary detection can generally be
disabled with the -a option to diff.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial
mailing list