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

Re: Corrupt PDFs?

From: Andreas Mahel <andreas.mahel_at_ch.ibm.com>
Date: 2005-04-01 20:27:02 CEST

Hi Brian,

as far as I know, subversion uses binary diffs anytime (also for text
files), so I would guess that subversion itself is not the one to blame. I
don't know about the script used, though.

On the other hand, VSS has a pretty simplistic approach to find out if a
file is "binary" or "text" (unless you specify this explicitly): It only
checks for ASCII-0 characters -- if it doesn't find any, it's "text".
This caught me badly once or twice.

So the question to you: are those revisions maye older revisions from VSS,
and (if yes) can you get the un-corrrupted file from the VSS repo?

regards,

Andreas

                                                                           
             "Brian Jackson"
             <Brian.Jackson@ze
             dak.com> To
                                       <users@subversion.tigris.org>
             01.04.2005 19:59 cc
                                                                           
                                                                   Subject
                                       Corrupt PDFs?
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           

Subversion appears to have corrupted PDFs I have stored in it. I’ve tried
to get old revisions but they are corrupt. It seems that when I imported
my VSS database, the svn client “guessed” that the PDFs were text, not
binary. Does this sound right? What is the solution, since I can’t change
the property on old revisions? How do I get the old revisions uncorrupted?

Thanks,
Brian
Received on Fri Apr 1 20:30:27 2005

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.