Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Re-apply a previously reverted commit in SVN

I committed a change in revision 1. This caused the build to fail, so I reverted the changes in revision 2. In the meantime, other developers have committed a few revisions.

But now I want to re-apply the changes from revision 1 into a local Eclipse workspace to use as the starting-point of fixing the code. How can I do that?

In other words, I want to create a diff between revision 1 and head and apply those changes to my working copy.

Imaginary SVN log:

r1 Commit feature X  <--- I want this revision applied to my working-copy.
r2 Revert feature X 
...
r9 Bugfix
r10 Bugfix
r11 Bugfix
Head
like image 544
sim Avatar asked Feb 15 '23 15:02

sim


1 Answers

Reverse-merge revision #2 to undo undoing the change you made there.

like image 87
alroc Avatar answered Feb 24 '23 12:02

alroc