I searched and didn't find, and had to figure stuff out... I hope to save you the trouble.

Thursday, April 23, 2009

Rollback a SVN change

Have svn make a diff of the previous revision to the revision you want to rollback, and reverse patch it.

Say you want to rollback r12345...
svn diff -r 12344:12345 | patch -R -p0

No comments:

Post a Comment

Followers