Troubleshooting

"Operation Timed Out"

Once when I tried to commit some changes to the repository I
saw this:

[Matt-Wrights-Computer:externals/networking/devosc] matt% svn commit
ssh: connect to host 128.32.122.217 port 22: Operation timed out
subversion/libsvn_client/commit.c:765: (apr_err=210002)
svn: Commit failed (details follow):
subversion/libsvn_ra_svn/marshal.c:251: (apr_err=210002)
svn: Connection closed unexpectedly
subversion/clients/cmdline/util.c:381: (apr_err=210002)
svn: Your commit message was left in a temporary file:
subversion/clients/cmdline/util.c:381: (apr_err=210002)
svn:    '/Users/matt/Desktop/CVS/svn/max/externals/networking/svn-commit.7.tmp'

The problem was that someone had changed the IP address of our
Subversion server! Everything worked fine after we switched it
back.

Last Resort

When things really get confused, like when you don't
understand SVN's error messages, this always works for me:

  1. Manually move any files that you've modified somewhere
    safe, i.e., outside your working copy
  2. Delete the troublesome parts of your working copy (files,
    directories, or the whole thing)
  3. Do "svn update" to restore your working copy with the
    current version from the repository
  4. Look at the result to see what actually was committed
  5. If necessary, copy your changed files back into your shiny
    clean new working copy and submit them again.