mowgli
mowgli

Reputation: 81

svn asking to upgrade working copy after updating to MacOS Sierra

So I upgraded to MacOS Sierra and now whenever I try to do anything in my working copy I get the error that it

"is too old (format 29) to work with client version '1.9.4 (r1740329)' (expects format 31). You need to upgrade the working copy first."

When I run svn upgrade, as it suggests it says "Can't open file /.svn/entries: No such file or directory"

Any suggestions will be greatly appreciated!

Upvotes: 7

Views: 13609

Answers (3)

Mingook Park
Mingook Park

Reputation: 121

  1. Open Terminal
  2. go to error folder. ex : cd svn/project/game
  3. command write only "svn upgrade"

Upvotes: 12

Ahmed Elashker
Ahmed Elashker

Reputation: 1000

I solved my problem by doing the 'svn upgrade' on the 'cd' of root folder of the project

Upvotes: 3

GhostCat
GhostCat

Reputation: 140457

Your problem is that the version of the SVN client got upgraded locally; whereas your local working copy (and the server) didn't change! Now the new client is unable to work with the existing working copy.

Now you have three choices:

  1. You can try to get your new SVN client to accept the existing working copy
  2. You downgrade your local SVN client to the previous version
  3. You throw your existing repositories away and start with fresh checkouts

For option 1, you might look here or there.

For option 2, this might help.

Option 3; I guess, is the one-line-no-brainer which maybe costs you download time, but should come with the least amount of "you spending your time" debugging this (unless you got a ton of uncommitted changes sitting in your current repositories). But of course, you would first try to create a new checkout with the new client, before throwing the old directory away.

Upvotes: 6

Related Questions