Undo an undesired merge in SVN -
we have repository running svn. @ moment, add feature (lets call 'branch'), created development branch main trunk (let's call 'trunk').
we kept doing our work , commiting branch, occasionally, merged changes made in trunk branch keep branch date trunk.
at point, revisions 75051 77691 trunk merged branch, , commits kept going on branch, commiting new code in branch.
but want branch date trunk revision 77089, is, want undo changes in branch due merge did, changes due rev77089-77691, without affecting work done in branch. suggestions revert or undo changes in branch due rev77089-77691 in trunk? thank much.
you can undo change use reverse range in svn merge
command:
$ svn revert -r . #remove changes made $ svn update #and make sure date $ svn merge -r77691:77088 .
this rid of changes 77089 77691 working directory.
or can undo merge 1 revision @ time:
$ svn merge -c -77691 . $ svn merge -c -77690 . $ svn merge -c -77689 .
Comments
Post a Comment