You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bruce Skelton <sf...@gmail.com> on 2013/06/18 20:16:34 UTC

svn repo can't make any changes

We have a repo on our svn server where no changes can be made. This became
apparent when the project owners attempted an svn copy to create a new
branch.

svn copy svn+ssh://user@svn.server.com/svn/myprojects/projects/projectnamesvn+ssh://
user@svn.server.com/svn/myprojects/branches/projects/projectname/R-blah

svn: E000020: Can't move '/svn/myprojects/db/txn-protorevs/140999-3139.rev'
to '/svn/myprojects/db/revs/141/141000': Not a directory

In the db/revs directory is a file 141

Why is the server attempting to make a directory where a file already
exists?

At this point no changes can be made to the repo.

svn info shows

Repository UUID: 853606d7-920d-0410-88c8-e26e540774b4
Revision: 140999
Node Kind: directory

Any help is greatly appreciated.
Bruce

Re: svn repo can't make any changes

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Bruce Skelton,
am Dienstag, 18. Juni 2013 um 20:16 schrieben Sie:

> svn: E000020: Can't move
> '/svn/myprojects/db/txn-protorevs/140999-3139.rev' to
> '/svn/myprojects/db/revs/141/141000': Not a directory

> In the db/revs directory is a file 141

Check your format file in the db folder if it contains something like
"layout sharded 1000", if yes, the file 141 seems to be an error as
subversion expects it to be a directory where 1000 revisions should be
stored. You surely have this line, therefore the interesting question
is if it has been there all the time, check the older revs to see if
you have directories in 1000s amounts, or if it has been added to some
upgrade process, maybe wrongly applied. You should post the contents
of your file 141 so that people with some more knowledge can decide if
it is some kind of waste or an old revision. If it's an old revision
it seems there was wrongly applied upgrade to your repo.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow