Monday, June 26, 2006

Basic concepts goes a long way with SVN

bash$ svn commit . -m "delete feed_tool tests"
Authentication realm:
Password for 'xxx':
Sending .
svn: Commit failed (details follow):
svn: Your file or directory '' is probably out-of-date
The version resource does not correspond to the resource within the transaction. Either the requested version resource is out of date (needs to be updated), orthe requested version resource is newer than the transaction root (restart the commit).

I was wondering why it wasn't committing, and honestly, it's pretty easy once you figure out what subversion's concept is...and I for one, had never read it.

Simply update your version with

svn update

And it should work. The version that the repository had just wasn't the version you had.


  1. Max Kosyakov8:54 PM

    What if it still does not work after update. It keeps saying the same error on and on. Any idea?

  2. Hrm, actually, I've never corrupted my svn that badly that an 'svn update' didn't work. Not that I can solve your problem, but what was the last thing you did?

    For me, using eclipse's svn plugin was often a source of problems.