简体   繁体   English

删除XCode5中的SVN存储库引用

[英]Remove SVN repository refrences in XCode5

I am facing some issues while importing files to my project. 将文件导入到我的项目时遇到一些问题。 When I import these files which are already linked to another repository it contains the references of old repository and I am unable to Commit/Add these files to new repository. 当我导入已经链接到另一个存储库的这些文件时,它包含旧存储库的引用,并且我无法将这些文件提交/添加到新存储库。 I tried other solution like searching for .svn files in the folder and deleting them and also through command line tool but i am not able to remove the references of old repository. 我尝试了其他解决方案,例如在文件夹中搜索.svn文件并通过命令行工具将其删除,但我无法删除旧存储库的引用。

Please suggest some solution for this. 请为此提出一些解决方案。

Thanks 谢谢

The only way that I know is to delete all .svn files from ALL sub-directories. 我知道的唯一方法是从所有子目录中删除所有.svn文件。 Maybe you can create/find a script for doing this job. 也许您可以创建/查找执行此任务的脚本。
In any case, if there is a better way to import the project linked to another repository, I would be happy know as well. 无论如何,如果有更好的方法来导入链接到另一个存储库的项目,我也很高兴知道。

I think you can check out this answer in superuser, from my personal experience this is the only way of doing it. 我认为您可以在超级用户中查看此答案,根据我的个人经验,这是唯一的解决方法。 Here is the link to the answer: https://superuser.com/questions/388020/how-to-use-terminal-to-delete-all-svn-folders-recursively 这是答案的链接: https : //superuser.com/questions/388020/how-to-use-terminal-to-delete-all-svn-folders-recursively

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

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