svu update 遇到 Node remains in conflict

http://stackoverflow.com/questions/11774868/svn-checkout-without-restoring


up vote4down votefavorite

2

We have some company middleware and sometimes its difficult to find the correct version Im looking for so I often have to update to different versions to test them.

I usually checkout:

svn co svn+ssh://(username)@(ip)/srv/svn/intranet/trunk/PYTHON/<application> <local-application>

I then may update to a different version

svn update (path) -r (rev)

Most of the time after a few attempts this will cause the error Node remains in conflict

If I delete the folder and try to do a fresh checkout it just restores what I had. All I want to do is checkout a revision, I have made no changes and it still thinks there are conflicts.

Ive tried to resolve them, but nothing seems to work:

svn update -r 1586

Skipped ‘inm/inm‘ -- Node remains in conflict
D    inm/fabfile.py
D    inm/test.db.bak
D    inm/tests
D    inm/test.db
D    inm/doc
D    inm/test.ini
D    inm/test.sql
U    inm/setup.py
A    inm/inm.egg-info
A    inm/inm.egg-info/SOURCES.txt
A    inm/inm.egg-info/top_level.txt
A    inm/inm.egg-info/PKG-INFO
A    inm/inm.egg-info/entry_points.txt
A    inm/inm.egg-info/dependency_links.txt
A    inm/inm.egg-info/not-zip-safe
A    inm/inm.egg-info/paster_plugins.txt
A    inm/inm.egg-info/requires.txt
U    inm/setup.cfg
Updated to revision 1586.
Killed by signal 15.
Summary of conflicts:
  Skipped paths: 1

svn resolved inm/inm
Resolved conflicted state of ‘inm/inm‘
(venv)

svn update inm/inm -r 1586
Updating ‘inm/inm‘:
Password:
Skipped ‘inm/inm/templates‘ -- Node remains in conflict
At revision 1586.
Killed by signal 15.
Summary of conflicts:
  Skipped paths: 1

svn conflict checkout resolve


shareimprove this question

edited Feb 18 ‘13 at 5:33

Krom Stern
3,66942463

asked Aug 2 ‘12 at 9:42

JackalopeZero
1,66031343

 

    

maybe untracked files cause the conflict; it‘s not very clear, what state/contents of that directory("path", is it the same as "intranet/trunk/PYTHON/<application>"?) you had before and after each operation; and what‘s your SVN version? –  Dmitry Pavlenko Aug 2 ‘12 at 9:59
    

If you think this is definitely a bug, write to [email protected] or #svn channel at FreeNode – Dmitry Pavlenko Aug 2 ‘12 at 10:00
    

if you haven‘t update anything in the working copy, normally it won‘t behave like that. Just to make sure, are you updating the whole working copy to different rev, or just part of it? If it is the former case, it seems to me that‘s a bug in svn instead. –  Adrian Shum Aug 2 ‘12 at 10:02
    

Im using subversion-1.7.5-1.fc17.i686. It is the exact same path, Im literally just trying to get a new revision. Whatever I do it will not seem to just download the latest copy. Im trying to update the whole working copy.–  JackalopeZero Aug 2 ‘12 at 10:05 
1  

The second time it complains about another conflicting node. Maybe you should resolve the conflict with ‘--depth=infinity‘ option and something ‘--accept theirs‘ in order not to resolve every file manually. But anyway, strange.. Could you post the output of "svn status inm" before and after update? –  Dmitry Pavlenko Aug 2 ‘12 at 10:33

show 1 more comment

2 Answers

activeoldestvotes


up vote16down voteaccepted

I think the answer I was looking for here was

svn revert --depth=infinity inm

I dont care about keeping local changes, only to update to a new revision. I have used this command a few times now and it seems to do the trick

EDIT

Upon looking at my errors again I can see that a lot of the files were likely being changed by tests or builds. I should have added them to an ignore file so that their changes were not detected by svn.


shareimprove this answer
时间: 2024-07-30 04:40:35

svu update 遇到 Node remains in conflict的相关文章

解决svn update 产生Node remains in conflict的报错问题

注意:目录下的文件冲突问题一定要先和开发确认一下,才执行恢复操作 1.今天执行svn update 更新java代码的时候出现了下面的报错 [[email protected] ROOT]# svn update -r 410 Updating '.': D META-INF A META-INF Skipped 'WEB-INF' -- Node remains in conflict ..... 2.WEB-INF目录下的文件有冲突,导致更新时,该目录直接被跳过,使用下面命令还原WEB-IN

解决 SVN Skipped &#39;xxx&#39; -- Node remains in conflict

svn 提交报错 提交命令: svn update 提示代码: Skipped 'test.php' -- Node remains in conflict At revision 271. Summary of conflicts: Skipped paths: 1 解决方法: svn remove --force test.php svn resolve --accept=working test.php svn update 提交成功! Updating '.': At revision

怎么解决svn error &quot;svn: Aborting commit: xxx remains in conflict&quot;?

遇到问题 $ sudo svn commit -m ''svn: E155015: Commit failed (details follow):svn: E155015: Aborting commit: '/Users/mac/data/lz/core/lz.php' remains in conflict 解决方法1: $ sudo svn resolved /Users/mac/data/lz/core/lz.phpResolved conflicted state of 'core/l

eclipse svn Aborting commit: &#39;XXXXXXXX&#39;remains in conflict

svn提交新代码的时候,一直报错“Aborting commit: 'XXXXXXXX'remains in conflict” 于是开始搜寻解决办法,网络上大多是单独使用svn时的解决办法,其中前因后果讲的比较详细的是这篇: http://blog.sina.com.cn/s/blog_5d2673da0100i78k.html 讲的太复杂不太适合实战.读完之后仍然不知怎样解决,于是用很笨的方法,手动删除了临时文件再提交,虽然提交成功但是这个方法太暴力不可取. 之后又找到此文,觉得很实用,特此

&lt;转&gt;svn提示出错异常为remains in conflict

commit -m "" E:/Program Files/MyEclipse 10/Administrator/Workspaces/MyWabacusProject/Person_Spending_Project/src/com/nasoft/jdbc A conflict in the working copy obstructs the current operation svn: Commit failed (details follow): svn: Aborting co

Aborting commit: &#39;XXX&#39; remains in conflict

Aborting commit: 'XXX' remains in conflict 错误 本地也删除了一个文件夹,用svn 的repo-brower 删除了服务器上的对应的文件夹 ,再次commit的时候,出现错误:Aborting commit: 'XXX' remains in conflict 错误   解决方法: 右键项目目录-->选择TortoiseSVN->Revert,在窗口中选择已经删除的文件夹,点击确定,就解决了这个问题. Aborting commit: 'XXX' re

svn提交时提示 Aborting commit: remains in conflict 解决办法,更改svn服务地址

问题: 我们的服务器换了新的URL地址,这时候我们本地的SVN访问帐号和地址就要重新定义了. 解决步骤: 1:重新定义SVN的URL,右键(TortoiseSVN) → Relocate → 输入你新的IP地址 问题解决! svn提交时提示 Aborting commit: remains in conflict 解决办法 问题: 我们的服务器换了新的URL地址,这时候我们本地的SVN访问帐号和地址就要重新定义了. 解决步骤: 1:重新定义SVN的URL,右键(TortoiseSVN) → Re

SVN提交,报“remains in conflict”错误

SVN提交,报“remains in conflict”错误解决方案: 1.把提示冲突的文件 的上级目录,选择revert,进行还原 2.然后再把本次需要提交的内容进行更新提交 3.对冲突的文件再进行处理 参考资料: 在使用SVN提交时,报了“remains in conflict”错误: 1.错误原因不清楚,网上搜索说是:在本地项目删除了一个目录,又通过SVN的“Repo-browser ”方式删除了SVN服务器端对应的目录:再提交时,就会提示该错误,网上说要点击revert,我的中文的没有这

Mac OS svn配置使用以及冲突解决

在Mac系统中,由于Mac自带了svn服务器端和客户端的功能,所以我们可以不用装任何第三方软件就可以使用svn功能,不过需要做一些简单地配置 创建代码仓库 我首先在 ~目录下新建了一个svn目录$mkdir svn创建一个仓库,名称随意,我的名字是mycode$svnadmin create ~/svn/mycode目录结构应该如下所示:$ ls svn/mycode/README.txt  conf/       db/         format      hooks/      lock