2012-04-23

svn upgrade error “svn: E155019”

Recently i upgrade all packages in cygwin. When i did a commit, i got:

svn: E155019: Can't upgrade '/cygdrive/c/Users/h3/ErgoEmacs_Source/ergoemacs/ergoemacs' as it is not a pre-1.7 working copy root, the root is '/cygdrive/c/Users/h3/ErgoEmacs_Source/ergoemacs'

Oh no! Error! My mind is psychologically conditioned to think i'll need to spend a hour or more to fix whatever problem is this. Apparently, svn 1.7 changed its repository metadata format. Luckily, the solution is simple:

  • cd to the root of your project's svn repository.
  • do svn upgrade
  • Repeat for other project's svn root.

Whew, that's not too bad.