Hi Ryan,
Thanks for you continued support.
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)
Are there any file size limitation?
lakshman@bart:~/Common-trunk > svn proplist
xdocs/Sensis_Classifieds_Logging.doc
Properties on 'xdocs/Sensis_Classifieds_Logging.doc':
svn:mime-type
svn:keywords
lakshman@bart:~/Common-trunk > svn proplist
xdocs/Sensis_Classifieds_J2EE_Framework.doc
Properties on 'xdocs/Sensis_Classifieds_J2EE_Framework.doc':
svn:mime-type
svn:keywords
lakshman@bart:~/Common-trunk > svn propget svn:mime-type
xdocs/Sensis_Classifieds_Logging.doc
application/octet-stream
lakshman@bart:~/Common-trunk > svn propget svn:mime-type
docs/Sensis_Classifieds_J2EE_Framework.doc
application/octet-stream
lakshman@bart:~/Common-trunk > svn propget svn:keywords
xdocs/Sensis_Classifieds_Logging.doc
Author Revision HeadURL Date
lakshman@bart:~/Common-trunk > svn propget svn:keywords
xdocs/Sensis_Classifieds_J2EE_Framework.doc
Author Revision HeadURL Date
-rw-r--r-- 1 lakshman dev 596992 Feb 3 18:34
Sensis_Classifieds_J2EE_Framework.doc.good
-rw-r--r-- 1 lakshman dev 597008 Feb 3 18:44
Sensis_Classifieds_J2EE_Framework.doc
-rw-r--r-- 1 lakshman dev 171520 Feb 3 18:13
Sensis_Classifieds_Logging.doc
I even set auto-prop ==> *.doc = svn:eol-style=CRLF
Thanks
Lakshman
-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
Sent: Friday, 3 February 2006 9:18 PM
To: Lakshman Srilakshmanan
Cc: users@subversion.tigris.org
Subject: Re: File corruption
On Feb 3, 2006, at 09:11, Lakshman Srilakshmanan wrote:
> I found that "xdocs/Sensis_Classifieds_J2EE_Framework.doc" on my
> branch
> was corrupted.
> Since I had changed the Meta data on this file on the branch I
> wanted to
> merge it back to the trunk (Don't worry JUST testing).
>
> In step 0 I listed the file.
> In step 1 I ran a dry-run.
> In step 2 I ran the merge.
> In step 3 I listed the file.
> In step 4 I commit the file to trunk
> In step 5 I listed the file again.
>
>
> The strange behaviour is that the file size changed between step 3 and
> step 5 and that file is now corrupted.
> Why did the file size change after a commit. I would have expected
> it to
> change after the merge...!!
Perhaps you have set the svn:eol-style property on this file, and
Subversion dutifully converted the newlines for you. Since this is a
binary file, not a text file, this obviously corrupts the file.
Therefore you should not set the svn:eol-style property on binary
files. Perhaps you have an auto-props rule that sets svn:eol-style
indiscriminately on all kinds of files? If so, you should change your
auto-props to only set the property on files you know to be plain text.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 5 23:59:13 2006