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

Re: File corruption

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-08 23:10:43 CET

On Feb 8, 2006, at 22:32, Norbert Unterberg wrote:

> 2006/2/6, Lakshman Srilakshmanan
> <lakshman.srilakshmanan@tradingpost.com.au>:
>
>> I have listed the property of both files. The only difference I
>> can see
>> is the file size.
>> One is 500Kb the other one is 170KB.
>>
>> Please find listed below the property on 2 files.
>> One gets corrupted (Sensis_Classifieds_J2EE_Framework.doc) the
>> other is
>> fine (Sensis_Classifieds_Logging.doc)
>
> Remove the svn:keywords property from both files. This property can
> (and usually will) corrupt binary files. If the property corrupts a
> file depends on its contents, so if one file contains the word $Date$
> and the other does not, then only one file becomes corrupt.
>
> So just remove that property from both files and try again.

Since nobody's mentioned it in this thread yet, I just want to point
out that since Subversion 1.2 you can use fixed-width keywords which
will therefore work with many binary formats. Here's the documentation:

http://svn.haxx.se/users/archive-2005-07/0819.shtml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 8 23:12:48 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.