Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 390
mowgli Avatar asked Oct 08 '16 18:10

mowgli


3 Answers

  1. Open Terminal
  2. go to error folder. ex : cd svn/project/game
  3. command write only "svn upgrade"
like image 101
Mingook Park Avatar answered Nov 18 '22 05:11

Mingook Park


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.

like image 44
GhostCat Avatar answered Nov 18 '22 05:11

GhostCat


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

like image 3
Ahmed Elashker Avatar answered Nov 18 '22 05:11

Ahmed Elashker