xcode - 你将如何避免 "Xcode, Subversion Error: 155007 (Path is not a working copy directory)"?

标签 xcode svn version-control

更改工作副本后,我看不到提交选项,但我确保了 svn 的设置。是正确的。

此错误消息究竟有什么问题?

Xcode 显示:

Your path is not a working copy



我应该怎么做才能解决这个问题?

最佳答案

博客文章“Xcode, Subversion Error: 155007 (Path is not a working copy directory)”及其评论几乎是此类错误的引用。

简单的解决方法 :

  • 删除您的本地副本 ( cd myxcodeproject; rm -rf . )
  • 删除“build ” 来自服务器的文件夹
  • svn co https://svnserver/path/trunk/project .

  • Now you should see .svn folders in every directory of your local project (you don’t see them if you use the “Export” function of the SCM panel from Xcode).
    At this point, you should be able to edit and commit your changes directly from Xcode.



    现在您需要正确初始化项目。
    以下部分说明了该部分:

    如何做对(一般原则)

    To place the project under Xcode, you need to first import it.
    The SCM->commit entire project… gives error 155007 if you don’t first do this:

    Under the SCM menu in Xcode select Repositories, then click the IMPORT icon at the top of that dialog that appears.
    Select the project from the list and then click the import button.

    Of course you need to first configure at least one repository before doing the steps above.



    正确的初始化步骤(详细过程)

    1. Create the project in XCODE.
    2. Setup subversion in XCODE and select the subversion repository for this project.
    3. Use Xcode SCM > Repository and click on the IMPORT icon. This will move the local copy to the subversion repository.
    4. Now delete your local copy (or move it to another location just in case).
    5. Finally CHECKOUT the project from subversion (this will create the subversion .svn folders, …).
    6. Reselect the subversion repository for this project.
    7. Commit the entire project.

    关于xcode - 你将如何避免 "Xcode, Subversion Error: 155007 (Path is not a working copy directory)"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3219695/

    相关文章:

    ios - iOS 7 上的 Cordova 3.0 白色闪光灯——我研究过这个

    linux - 在 Centos Linux 服务器上设置 Subversion

    git - 版本化多个不同文件的最佳方式

    Git rebase 噪声

    安卓工作室和git

    objective-c - iOS 3.x 上的自动引用计数

    ios - 警告 : architectures 'armv7 armv7s' didn't contain all required architectures 'arm64'

    svn - 有人有 National Instruments CVI 和源代码控制方面的经验吗?

    xcode - 使用 cocoa 和 Objective-c 在 Xcode 中挂载 SMB 驱动器

    svn - Mercurial + hgsubversion + svn : A tale of 2 repositories. ..(或者,替换变更集?)