Adding Icon@2x.png to SVN

I tried to add the retina icon to SVN, but it seems to have problems checking it.

I tried svn add Icon@2x.png svn add Icon \ @ 2x.png but none of them work.

Any help would be appreciated.

Thanks RS

+6
source share
3 answers

You need to do this ...

svn add Icon@2x.png @ 
+12
source

It doesn’t matter how you avoid the β€œ@” character, the reason for this is because SVN believes that the last β€œ@” should indicate the version number (@REV format). To get around this, you need to add another β€œ@” character at the end of the file name.

 svn add Icon@2x.png @ 

If you need to add multiple files, it can be painful to type them all manually, but you can use xargs to automate this:

 ls *2x.png | xargs -I x svn add x@ 
+10
source

wouldn't it be better to make it recursive? (Only suggestion / update of previous answer)

  find . -name "*2x.png" |xargs -I x svn add x@ 
0
source

Source: https://habr.com/ru/post/888965/


All Articles