SVN tree conflict totally wrecked my code in eclipse -


i working in eclipse using subclipse (svn client) , have been working on project while, in process changed java package name. when tried svn commit told me had tree conflict. opened conflicts , sure enough there conflict new package name, left selection default said merging , pressed ok.

now code has things this

<<<<<<< .working         getproviders();  ======= >>>>>>> .merge-right.r44 

this shown multiple times , have compile errors everywhere. cannot revert project because have made many changes locally already.

in addition, have these new files named constants.java.merge-right.r43 'constants.java' real file , 'constants.java.merge-right.r43' new file.

what can undo tree conflict problem?

find merge conflicts indicated the

<<<<<<< .working   <your code> =======   <their code> >>>>>>> .merge-right 

parts , check code correct code (or combination of both parts). keep/modify code , remove conflict indicators <, = , > lines.

as noticed there several versions of files have conflicts:

  • the .mine version of files version have
  • the .merge-right.r43 new server version
  • the .merge-right.rxx (where xx < 43) old server version used create own version.

after fixed working version, need use svn resolved <filename> tell svn resolved merge conflict. after resolving conflict can commit code again.

for more information read: how resolve subversion conflicts


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -