简体   繁体   English

svn添加iphone4图标

[英]svn add iphone4 icon

I have iPhone4 icons, which are terminated with @2x.png My problem is that when I try to add them to svn with svn add path/myIcon@2x.png I get the error: 我有iPhone4图标,以@ 2x.png终止我的问题是,当我尝试使用svn add path/myIcon@2x.png将它们添加到svn时,我收到错误:

svn: warning: 'path/myIcon' not found svn:警告:找不到'path / myIcon'

I suppose that svn or my system do not support the "@" in the path.. 我想svn或我的系统不支持路径中的“@”。

What can I do? 我能做什么?

I am running Mac OS X 10.6.4 and tried to add it directly with subversion and through svnX (which should and does give the same result). 我正在运行Mac OS X 10.6.4并试图直接添加它与subversion和通过svnX(它应该并且确实给出相同的结果)。 I think the repository is on a linux system. 我认为存储库是在Linux系统上。

Add an extra @ at the end. 最后添加一个额外的@。

So svn add path/myIcon@2x.png@ 所以svn add path/myIcon@2x.png@

I have had this problem also... my solution was to add them via SCM in Xcode. 我也有这个问题...我的解决方案是通过Xcode中的SCM添加它们。 If you don't have your SCM set up, it's worth doing, IMHO. 如果您没有设置SCM,那值得做,恕我直言。

在文件名末尾添加一个额外的@ (请参阅如何在Subversion托管文件名中转义@字符? )。

For multiply files I've used next soultion: for an example I have a folder named images with iPhone3 and iPhone4 images. 对于多重文件我用下一个soultion:对于一个例子,我有iPhone3的和iPhone4图像的文件夹命名的图像 I just write: 我只想写:

svn add images

And all files (with @2x too) will be added into svn. 并且所有文件(也都是@ 2x)将被添加到svn中。 No problems, fast. 没问题,快。

But of course if images has some files in svn then I should add this folder again (remove current, add files and svn add images ) 但是当然如果图像在svn中有一些文件,那么我应该再次添加此文件夹(删除当前,添加文件和svn添加图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM