In reply to Otto.

And I thought it was a bug in repo :P because a lot of popular plugins with >1M downloads have this problem

I wrote an article on this.

TL;DR
svn propset svn:mime-type image/jpeg assets/*.jpg
svn propset svn:mime-type image/png assets/*.png