Marco.org

I’m : a programmer, writer, podcaster, geek, and coffee enthusiast.

How to add files to Subversion containing “@” in their names

This doesn’t work:

$ svn add icon@2x.png
svn: warning: 'icon' not found

This does:

$ svn add icon@2x.png@
A  (bin)  icon@2x.png

You must append another at-sign (“@”) to any filename that contains one that isn’t intended to be interpreted as a revision specifier.

I suspect this has been a first-time issue for a lot of Subversion users this week.