Hi, we’re currently trying to move all our repositories from scm manager 1.6.0 to 2.42.2 - Importing the dump works, as does the checkout. But when we try to commit a change in the repository, we receive the error E155011 mentioning the file is out of date. What might be the problem and is there a solution? Any help would be appreciated, thanks!
Here are our steps in detail (original language was german, hope I translated it back correctly)
-getting a dump of the repos from scm-Manager 1.60 via svnadmin:
svnadmin dump /var/repos-global/reponame > reponame.dump
Import in SCM.Manager 2.42.2 via webinterface:
import repository
import without meta data or compression
-Checkout via svn checkout url/repo/svn/reponame works
when committing:
user@host:~/test/reponame$ svn commit
Send dev/config.php
svn: E155011: Transfer failed (details follow)
svn: E155011: File »/home/user/test/reponame/dev/config.php« is out of date
svn: E160013: »/repo/svn/reponame/!svn/ver/97/dev/config.php« path not found
Hey, you perhaps tried this already but did svn update help? Also are your sure that your url is right? Can you access this file via curl /repo/svn/reponame/!svn/ver/97/dev/config.php?
Just to mention it. There are several SVN compatibility issues depending which version you used before. You can change that in your global Subversion settings.
Thanks a lot for the reply - we’ve had some other trouble unfortunately and were just now able to check your suggestions.
Yes, we tried svn update and it unfortunately didn’t help. We can’t access the file via curl, there’s also a 404 not found reply.
We’ve checked the subversion compatibility - on both servers we work with version 1.6. and format 4, so this doesn’t help either…are there any more suggestions? Thanks again!
Hi @kulturserver, have you tried using svnadmin load /path/to/scm-home/repositories/id/data < oldrepo.dump. It’s a more direct method of importing a SVN dump.
hello @kulturserver, this might suggest that the error is with the SVN repo itself. I found this through a quick googling session. I hope that it might help.
Thanks for the reply, but that doesn’t help either unfortunately - we’ve checked the repositories multiple times and they are up to date and otherwise absolutely ok, too.
What we’ve done:
set up a test repo admin
exported the repo via svnadmin dump admin > admin.dump
imported the repo via svnadmin load /var/lib/scm/repositories/id/data < admin.dump
everything worked fine:
the data is in the repo
svn checkout works
adding files works and they can be committed
but when we try to change a file e.g. by adding lines, we get the following message: (translated from german)
svn: E155011: Transfer failed (Details follow):
svn: E155011: File «/home/user/svn/admin/dev/info.php is out of date
svn: E160013: «/scm/repo/svn/admin/!svn/ver/637/dev/info.php« path not found
svn: E155011: Your log message in a temporary file:
svn: E155011: «/home/user/svn/admin/svn-commit.tmp«