Reverting a part of the commit in SVN

230 Views Asked by At

I have merged revisions 1,2,3 from branch A to branch B and committed the same in a single commit. Now, I need to revert back only revision 2 from branch B.

It is difficult to revert this commit and redo the merge as there lot of commits that have been made after this.

Is there any option to do it other than manual compare and reverting the changes?

2

There are 2 best solutions below

0
On BEST ANSWER

Revert revision 2 from Branch A and merge it to Branch B .

2
On

I'm using TortoiseSVN for such jobs. Going to "Show Log", right click the commit you want to revert and than "Revert changes from this revision".