I have a local repository in a network drive. It works fine, but I have a HDD problem when I connect it to a router, and the HDD went to raw format. After that I can restore all files in HDD with a recovery software. Recover was correct I think. Every files seems to be OK.
But now I can not connect to the repository, can not browse etc. When I try to commit something:
unable to connect to a repository at url: file:///Z:/wt/trunk/
unable to open repository
Repo files are available in that location, when I see in file manager. Location path is the same before the HDD problem. Everything seems to be OK (Repo size, repo structure /conf, db, hooks/ ), but it doesn't work. I think it is just a checksum error or something like this.
Is there any tool to repair the repo, or find the problem with it?
My Tortoise SVN version is 1.9.7 64 bit.
Make backups! Do not rely on data recovery software - it does not guarantee that the recovered data is bit to bit equivalent to the data you lost.
When you can access the repository directory with File Explorer at Z:\wt\
and see conf/ db/ hooks/
directories at al it does not mean that the repository is in working state. You need to run svnadmin verify Z:\wt\
and see whether the repository is consistent and healthy or not. If the verification finishes without any errors - you are in luck.
If the repository is consistent, then the svn info file:///Z:/wt/trunk/
should work without any errors. If you still see errors, show the exact and complete wording of the error message and check whether the file://
URL that you use is correct.