zoukankan      html  css  js  c++  java
  • "svn: E155010: 提交失败"问题解决

    习惯于通过命令行操作svn,今天如往常一样提交代码:

    AnnytekiMacBook-Air:weiyibao Anny$ svn ci -m "code"

    居然报错,如下:

    svn: E155010: 提交失败(细节如下): 

    svn: E155010: 丢失了预定增加的“/Users/Anny/Documents/iOS/WeiYiBao/weiyibao/Pods/YUSegment/Pod”

    解决办法如下:

    svn status

    响应:

    !       Pods/YUSegment

    !       Pods/YUSegment/Classes

    !       Pods/YUSegment/Classes/XDTwoTitleView.h

    !       Pods/YUSegment/Classes/XDTwoTitleView.m

    !       Pods/YUSegment/Classes/YUMixtureView.h

    !       Pods/YUSegment/Classes/YUMixtureView.m

    !       Pods/YUSegment/Classes/YUSegment.h

    !       Pods/YUSegment/Classes/YUSegment.m

    !       Pods/YUSegment/LICENSE

    !       Pods/YUSegment/Pod

    !       Pods/YUSegment/Pod/XDTwoTitleView.h

    !       Pods/YUSegment/Pod/XDTwoTitleView.m

    !       Pods/YUSegment/README.md

    !       Pods/YUSegment/XDTwoTitleView.h

    !       Pods/YUSegment/XDTwoTitleView.m

    这只是其中一部分,显然Pods/YUSegment已被删,所以提交报错,我们只需通过svn强制删除之,这样svn的提交计划就没有它们了:

    AnnytekiMacBook-Air:weiyibao Anny$ svn delete --force Pods/YUSegment

    D         Pods/YUSegment

    D         Pods/YUSegment/Classes

    D         Pods/YUSegment/Classes/XDTwoTitleView.h

    D         Pods/YUSegment/Classes/XDTwoTitleView.m

    D         Pods/YUSegment/Classes/YUMixtureView.h

    D         Pods/YUSegment/Classes/YUMixtureView.m

    D         Pods/YUSegment/Classes/YUSegment.h

    D         Pods/YUSegment/Classes/YUSegment.m

    D         Pods/YUSegment/LICENSE

    D         Pods/YUSegment/Pod

    D         Pods/YUSegment/Pod/XDTwoTitleView.h

    D         Pods/YUSegment/Pod/XDTwoTitleView.m

    D         Pods/YUSegment/README.md

    D         Pods/YUSegment/XDTwoTitleView.h

    D         Pods/YUSegment/XDTwoTitleView.m

    再执行

    svn ci -m "code"

    就能顺利提交到代码库了。

  • 相关阅读:
    Final-阶段站立会议5
    Debug阶段成员贡献分
    每周例行报告——第九周
    beta发布简评
    简易四则运算生成程序——批量出题
    每周例行报告——第八周
    每周例行报告——第七周
    每周例行报告——第六周
    课堂作业:alpha发布点评
    “四则运算生成程序——GUI支持和部分功能改进”链接
  • 原文地址:https://www.cnblogs.com/Dhouse/p/7047600.html
Copyright © 2011-2022 走看看