The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Revision control for binary files

Does anyone have any advice for storing binary data in Subversion?

I'm working on a project that has a few Access databases that are distributed with application. Two of them contain only text-based data, so our plan is to write a script that builds the databases. We'll store the scripts instead of the actual mdb files. Does that sound like a reasonable approach?

We also have some mdb files and other binary files (specifically ESRI .mxd map documents) that we'd like to store in subversion. However, making a tiny change means that a completely new copy is stored since subversion doesn't know how to do a "diff" on binary data. Any suggestions would be very much appreciated.

Thanks!
Developer #13
Friday, October 27, 2006
 
 
You are misinformed, Subversion does diff's on binary files.

http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ap-a-sect-8

It's CVS that stores the complete copy every time.
Almost H. Anonymous Send private email
Friday, October 27, 2006
 
 
Yes - the script to build your databases is a good idea.
DJ
Friday, October 27, 2006
 
 
CVS stores binary files in full, svn diffs them (could be improved in the future to be  in an rsync link way?)

I have an svn repository with 200MB of Office files (mostly Word/Excel)
Osama Send private email
Saturday, October 28, 2006
 
 
Thanks for the info, guys. I'm glad I was misinformed!
Developer #13
Monday, October 30, 2006
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz