Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 Visual Studio throws the following error when I try to launch/rebuild the project:

Files has invalid value "<<<<<<< .mine". Illegal characters in path.

I don't know how to fix this problem. What should I do?

like image 701
MysticEarth Avatar asked Jan 06 '10 12:01

MysticEarth


2 Answers

That happens when svn encounters a conflict: You changed a file, the file on the server was changed and it cannot (easily) be merged automatically. You need to decide what is the correct solution now.

Subversion just adds the diff into your source file (and creates files next to it, called OriginalName.mine (unchanged) and OriginalName.rsomething (unchanged, server version)).

Fix the conflict and tell subversion that this is resolved.

like image 137
Benjamin Podszun Avatar answered Sep 25 '22 03:09

Benjamin Podszun


just delete the obj folder and it will worked fine.

like image 44
marcg Avatar answered Sep 21 '22 03:09

marcg