If you’re lazy, like me, you commit your changes using svn commit -m "my awesome bug free code is done". This is easy and fast, but does not work if your software project has a machine specific configuration file, or something else that when committed causes other people pain.
SVN has no direct solution to this problem, but you can abuse the changelist feature to solve the problem. Simply create a changelist for these files and never commit it.
svn changelist donotcommit configurationfile1.xml configurationfile2.xml
You can confirm that this has worked with svn stat. Once the changeset is crated, it should look something like this:
bobdole@/svn/foo_project$ svn stat
M changedcode.c
? project.log
--- Changelist 'donotcommit':
configurationfile1.xml
configurationfile2.xml
Now you can go ahead and use svn commit -m "i fixed everything" again without living in fear of terrible office pranks being committed against you.
