Procrastiblog

January 10, 2007

JPEGs in Subversion

Filed under: Tech — Chris @ 8:41 pm

If you’ve got a JPEG under Subversion and it looks like this

when it should look like this
,
maybe Subversion thinks it’s a text file. Try

svn propdel svn:eol-style MY.jpg
svn propset svn:mime-type image/jpeg MY.jpg

Brought to you courtesy of this guy

Bonus fact: if you’re accessing Subversion via svn+ssh and it asks for your password more than once, fret not. Subversion and SSH are just really dumb. See here.

Advertisements

Blog at WordPress.com.

%d bloggers like this: