[OPEN-ILS-DEV] RE: changesets 7461 & 7462 (for Jason)

Dan Scott denials at gmail.com
Thu Jun 21 00:39:48 EDT 2007


Hey Jason:

I saw your pain with files in SVN that were accidentally stored as
text rather than binary. Here's a quick note for the future, in case
there are any more files in ILS / OpenSRF that need fixing...

The way to tell Subversion that a file is actually binary, not text,
is to use the propset command to change the mime-type of the file:

$ svn propset svn:mime-type application/octet-stream <filename>

or if you wanted to be more precise, something more like the following:

$ svn propset svn:mime-type image/png *.png
$ svn propset svn:mime-type audio/wav *.wav

-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list