XCode SVN 清理

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17802660/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 03:37:28  来源:igfitidea点击:

XCode SVN clean up

iosxcodesvn

提问by βhargav?

I am using SVN with XCode to maintain a svn repositery. Earlier it was working fine. Last night my internet connection was broken while Committing the code to svn and since then its giving an error like svn: Working copy 'Path here' lockedand svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details). Now my issue is i am not able to find any way to Cleanup from xcode. Is it possible to cleanup from xcode ? If Yes then how and if its not then how can we clean up using terminal.

我正在使用带有 XCode 的 SVN 来维护 svn 存储库。早些时候它工作正常。昨晚我的互联网连接在将代码提交到 svn 时中断了,从那以后它给出了一个错误,比如svn: Working copy 'Path here' lockedand svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details )。现在我的问题是我无法找到任何从 xcode 进行清理的方法。是否可以从 xcode 进行清理?如果是,那么如何,如果不是,那么我们如何使用终端进行清理。

enter image description here

在此处输入图片说明

Thanks in advance.

提前致谢。

回答by βhargav?

Follow these steps for Cleanup

按照以下步骤进行清理

  1. Open terminal.
  2. Write cd prj_path[Note: prj_path is the path of your working copy]
  3. Now write svn cleanup.
  1. 打开终端。
  2. cd prj_path[注意:prj_path 是你的工作副本的路径]
  3. 现在写svn cleanup

See the terminal commands here.

请参阅此处的终端命令。

c31:~ c31$ cd /Volumes/Data/Projects/test 
c31:test c31$ svn cleanup

回答by lakesh

Solve it this way:

这样解决:

Copy edited items to another location.
Delete the folder containing the problem path.
Update the containing folder through Subversion.
Copy your files back.
Commit

Look at this post: Working copy XXX locked and cleanup failed in SVN

看这个帖子:SVN 中的工作副本 XXX 锁定和清理失败