SVN Merge - Completely "theirs full" - Branch to trunk

Deepak Singhal picture Deepak Singhal · Jan 22, 2014 · Viewed 8.5k times · Source

I want to merge my branch to trunk and basically want to over-write all the code in branch to the trunk..While receiving conflicts I kept doing "theirs full" for all the conflict; but still at the end it shows so many conflicts.

All I want is over-write complete branch on my trunk. Surely a possible way is to branch out from my branch but then my trunk becomes useless !

Also, while doing svn merge can I give an option so that for all conflicts it takes a particular value ( in this case Full-theirs ) and I dont have to type it always for all the conflicts.

Answer

Ben Reser picture Ben Reser · Jan 22, 2014

Pass --accept=theirs-full to the svn merge command.