SVN 1.8.5 marks entire files as conflicted

China☆狼群 提交于 2019-12-11 06:23:48

问题


I am having trunk and one branch. I have updates in both and I want to merge trunk changes to branch. And all files merges correcty, but one is marked as conflict. The problem is that I cant merge them because svn marks all lines as different. How can I solve this?

svn diff on that file in trunk and branch also shows all file lines as different.

My server svn version: svnserve, version 1.8.5 (r1542147) compiled Jan 13 2014, 03:38:23 on i486-pc-linux-gnu

My client svn version: svn, version 1.8.5 (r1542147) compiled Dec 2 2013, 16:38:04 on i686-pc-linux-gnu


回答1:


This was EOL problem. I did not changed svn:eol-style or used different os, that is why I didn't checked it before. But using svn merge ^/trunk -x "-w --ignore-eol-style" solved my problem (Thanks to @Lindydancer).



来源:https://stackoverflow.com/questions/22981933/svn-1-8-5-marks-entire-files-as-conflicted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!