SVN Skipped 'xxx' -- Node remains in conflict的解决办法

简介

root@runoob:~/svn/runoob01/trunk# svn update
Updating '.':
C    HelloWorld.html
Updated to revision 6.
Conflict discovered in file 'HelloWorld.html'.
Select: (p) postpone, (df) show diff, (e) edit file, (m) merge,
        (mc) my side of conflict, (tc) their side of conflict,
        (s) show all options: mc
Resolved conflicted state of 'HelloWorld.html'
Summary of conflicts:
  Text conflicts: 0 remaining (and 1 already resolved)

 

这边输入"mc",以本地的文件为主。你也可以使用其选项对冲突的文件进行不同的操作。

这时候,如果出现下面的情形:

svn 提交报错

提交命令:

svn update

提示代码:

Skipped 'test.php' -- Node remains in conflict
At revision 271.
Summary of conflicts:
  Skipped paths: 1

解决方法:

推荐这个操作:
svn revert depth infinity xxxx
其中xxxx是你冲突的目录或文件


非常非常不推荐这样操作:
svn remove --force test.php svn resolve --accept=working test.php
svn update

提交成功!

Updating '.':
At revision 271.
posted @ 2021-09-10 14:59  我爱吃小丸子  阅读(1418)  评论(0编辑  收藏  举报