What would make hg diff see a txt file as binary?

Harry Putnam reader at newsguy.com
Fri Aug 29 22:24:07 UTC 2014


Peter Hull <peterhull90 at gmail.com> writes:

> On Wed, Aug 27, 2014 at 8:07 PM, Harry Putnam <reader at newsguy.com> wrote:
>> Just to make sure I quickly browsed the 3490 line file but did not
>> notice anything but plain text.
> The infamous 'cat -v' command shows control characters (e.g. NUL
> appears as ^@) so might be easier to spot.
> Cheers,
> Pete

Isn't this something of an (admittedly very minor) bug for `hg diff' to
be so gun shy? As I reported, linux `diff' didn't have that issue, nor
did linux `file'

And for the record I did check both the copy with changes and the
working copy... both reported the files binary

Thanks for the input folks!




More information about the Mercurial mailing list