[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TortoiseMerge recognising some file as binary?

From: Felix Saphir <felix.saphir_at_kantarmedia.com>
Date: Thu, 15 Dec 2011 14:51:01 +0100

Am 15.12.2011 14:41, schrieb Jean-Francois Cote:
>
> I've downloaded an HEX editor and check the file. At the end of the
> problematic file, there is 48 NULL char... In the revision just after
> this one, there is none. The 10 revisions before have the same number
> of NULL char. And before that, they doesn't have. And then one day it
> reappear...
>
> So my question are: 1) Is this a problem with our server that could
> have generated this? Because the revision were done by a lot of
> different programmer on different computers so I'm pretty sure it's
> not one particular computer who generate this.

We don't know anything about your server, but that's still unlikely by
statistics. Do you perhaps use a fancy IDE or have some unusual setup?

> 2) Why does tortoise recognise this as a binary file when all the
> other editor are able to open it and even do the diff (WinMerge)?

Because TortoiseMerge tries to do the Right Thing (TM): Text files
usually don't contain ASCII NUL.

Felix

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2893572

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-15 14:51:11 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.