SVN keeps corrupting files with “<<<<<<< .mine”, how to fix?

前端 未结 12 814
长情又很酷
长情又很酷 2020-12-04 19:25

I\'ve got a Visual Studio C# project which is under version control (SVN). I\'ve always commited and updated the project without any problems. But a couple of hours ago Visu

12条回答
  •  遥遥无期
    2020-12-04 19:57

    If you are using TortoiseSVN you should have a right click option on the file called Edit Conflicts. This should bring up TortoiseMerge which is able to read those obnoxious notations stuck into the file (really, to break your code so you KNOW there's an issue and don't blindly check it in).

    TortoiseMerge will read it properly and present you with a 3-way merge. This was what I was looking for. Although it is true that it does also create the separate .mine and .rxxx and .ryyy files, and there are various manual and command-line ways to deal with all this.

提交回复
热议问题