Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158329 - SVN corrupts binary files
Summary: SVN corrupts binary files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-16 15:52 UTC by Andrew Gaffney (RETIRED)
Modified: 2007-03-09 02:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
good version (stock_open.png,1.05 KB, image/png)
2006-12-16 15:53 UTC, Andrew Gaffney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2006-12-16 15:52:45 UTC
SVN is apparently corrupting binary files. I thought it was that they got corrupted in the original move from CVS, but after setting svn:mime-type to image/png and re-committing good versions of these files, they were corrupted again.

An example corrupted file is gli/trunk/src/fe/gtk/button_images/stock_open.png. I'm attaching a good version for Kugelfang to try to commit.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-12-16 15:53:41 UTC
Created attachment 104183 [details]
good version
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-12-16 16:02:59 UTC
At codeman's suggestion, I 'svn rm'd the file, copied a good version, 'svn add'd it, and then committed it. It stayed in good shape. When I added it, it was automatically set as binary (svn:mime-type = application/octet-stream), and it remained non-corrupted after committing. What does this mean?
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2006-12-16 17:45:05 UTC
I've just fixed all the PNG files in the repo by doing this. However, I'm sure this issue is affecting other people.
Comment 4 Lars Weiler (RETIRED) gentoo-dev 2007-03-09 02:50:51 UTC
I remember we discussed this on IRC.  But as long as nobody recognises the same problem, I will mark this bug as resolved.