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

前端 未结 12 811
长情又很酷
长情又很酷 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:38

    Please read the Basic Usage chapter in the subversion book. It has a section about Merging conflicts by hand which explains the conflict markers you're seeing.

    0 讨论(0)
  • 2020-12-04 19:42

    I have had this happen on a large scale where the files get marked resolved but the conflict metadata is still there. I wrote a regular expression for visual studio to find these, for instances where it is not feasible to simply revert the changed files.

    http://www.codetunnel.com/blog/post/90/ever-merge-with-svn-and-mess-up-when-resolving-conflicts-read-on

    0 讨论(0)
  • 2020-12-04 19:48

    1)Just save your local changes whatever u have edited in the file

    2)revert the file

    3)update it from SVN

    4)Paste your local changes

    0 讨论(0)
  • 2020-12-04 19:50

    just delete the obj folder and it will worked fine.

    0 讨论(0)
    • Inside your project :

      odj folder -> Debug -> project name.csproj.Filelistabsolute.txt(snb.csproj.Filelistabsolute.txt)

    • Inside the text file >>>>>>>.mine and >>>>>>>.r150 occurs to remove the things the program works

    0 讨论(0)
  • 2020-12-04 19:53

    If you have AnkhSVN or VisualSVN installed resolving this is most likely as easy as right clicking the file in the solution explorer and selecting edit conflict.

    This will open the changed file in your merge editor. (See Tools->Options->Source Control->Subversion User tools for AnkhSVN). With a good merge tool like the free to use SourceGear DiffMerge or TortoiseMerge, resolving the conflict is just a few mouseclicks away.

    0 讨论(0)
提交回复
热议问题