Subversion and files with @
If you have worked with Subversion and iOS you are probably aware of this problem. Whenever you are going to do something with a file that has an at sign in its name you can’t. For instance imagine you’ve just added a file for retina and try to add it to the repository (XCode can do this too):
$ svn add firstname.lastname@example.org
The message from Subversion will be:
That’s because Subversion uses the @ for other purposes. From the Subversion book:
...how does svn know whether news@11 is the name of a directory in my tree or just a syntax for “revision 11 of news”? Thankfully, while svn will always assume the latter, there is a trivial workaround...
The workaround is as simple as adding an at sign to the end of the path:
$ svn add email@example.com@