Featured Post

Linux daemon using Python daemon with PID file and logging

The python-daemon package ( PyPI listing , Pagure repo ) is very useful. However, I feel it has suffered a bit from sparse documentation, an...

2013-07-16

Backing out a Subversion Commit

A useful how-to from T. Kim Nguyen. I made a commit to my repository:
$ svn commit -m "changed something"
resulting in revision 989, and discovered it didn't work. D'oh!

To undo this commit, and go back to the state of the code in revision 988:
$ svn update
$ svn merge -c -989 https://svn.myserver.org/svn/myproject
$ svn stat
$ svn commit -m "undid the previous change"
This results in revision 990, but with the state of the code as in 988.