SVN: Troubleshooting

Rule: DO NOT EVER EDIT SVN DB FILES DIRECTLY!

The problem: Wanted to fix the log message for a specific revision.
My (bad) solution: Edit db/revprops/### directly.

This causes the following error:
svn: General svn error from server

To fix this, copy another ### file and overwrite the bad one you altered. After that you should be back in business, just with a bad log.

Now to change the log the PROPER way, go on the server computer and type:

echo "my message goes here" >> msg
svnadmin setlog /Path/to/repo -r #REV# msg

No comments: