Reverting to the previous SVN version

Posted under » Version Control on 3 April 2020

Sometimes shit happens and the website broke because of a new update.

The answer is to merge an old version, normally the previous version ...say release 269 into the current release or HEAD.

cd folder
svn up
svn merge -r HEAD:269 .

So when you SVN status, it will show the files has been modified by the old version. Once happy, you can then commit this new (but older) version.

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css