I want to check in my icons and other PNGs. Of course, I'm following the iPhone image naming convention, so I have Icon.png, and [email protected], Default.png and [email protected].
One problem: svn thinks I'm trying to add something with a pinned version.
hacksaw > svn add [email protected]
svn: warning: 'Default' not found
hacksaw > ls -l [email protected]
-rw-r--r--@ 1 hacksaw hacksaw 11139 Mar 1 14:44 [email protected]
Is there an alternate syntax for the 2x file? Or is there an escape that svn uses that I can't seem to find in the red-bean book?
I've thought about switching to git, but I'd really like to put it off until I finish this submission.
How to Add Those @2x iOS4 Resources to SVN
$ svn add [email protected]@
A (bin) [email protected]
You need to append '@' to any filename that already contains '@', e.g. svn add "[email protected]@"
.
If you want to add lots of files containing '@', and you're using bash or similiar, the following snippet is very handy:
for i in '*@*'; do svn add "$i@"; done
If you place all resource file of [email protected] in a folder like Resource-ipad then add this folder on svn add path. you not need to append @ at the end of the .png
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With