I have a very big svn repo. When I try to use it (commit, update, etc.), it says there are locks.
When I run 'svn cleanup', it says the working copy is too old and I need to update it.
When I run 'svn upgrade', it starts but says nothing.
I also performed the 'svnadmin upgrade' on the repo, just in case.
I have the latest TortoiseSVN installed.
Usually, if I had the SVN weirdness, I would move the files, update, move the files back, but as I mentioned earlier, this is a very BIG repo.
Any help would be appreciated.
Thanks!
Specific Posts:
>svn update svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Working copy '*****' locked. svn: E155004: '*****' is already locked. >svn cleanup svn: E155036: Please see the 'svn upgrade' command svn: E155036: The working copy at '*****' is too old (format 29) to work with client version '1.8.1 (r1503906)' (expects format 31). You need to upgrade the working copy first. >svn upgrade >
Update 1 : I installed the 1.7.X client and tried to start the cleanup. He complained that the repo was for some reason not a working copy. I tried updating with the same 1.7.X client and received the following message:
>"c:\Program Files\SlikSvn\bin\svn.exe" update svn: E155021: This client is too old to work with the working copy at '*****' (format 31). You need to get a newer Subversion client. For more details, see http:
So these are client things, the repo is format 31. The turtle thinks it's format 29. Now I'm more confused.
Update 2 : Reply to @David W
Is this about a working copy or the repository?
Working copy. Although I also tried updating svnadmin on the repo. However, svnadmin I used 1.8.1. I just tried updating the repo using TortoiseSVN (1.8.10), but this did not solve the problem.
is this about a file that locked because someone locked it, or because your working directory is locked due to an incomplete
I am the only one who uses repo, so I know that no one else has blocked it. This is probably due to an incomplete operation.
I started svn status from 1.8.10 and there was nothing βKβ. There were some files with "L" and one with "?" . All of the items listed are directories, not files, with the exception of those marked with a "?" .
If I ran "svn lock --force dirname", it would reply that this particular node "is not a file." When I ran it in the file marked with "?" He replied that the node is "not found."
Then, there is a locked working directory because of an incomplete operation...
Yes, you called it. That is why all things are marked with "L", I am going to.
When I started the cleanup (1.8.10), he gave me the same error that I reported in my intuitive question (format 29 is too old for this format 31 client).
Remember that you can always delete a working directory and create a new one
Yeah. If I delete any directory in the working copy and delete the update, it complains that it is locked. I cannot remove the lock due to format mismatch. I can theoretically just re-check all the repos and then copy things back, but the repo is 12 GB (210,000 files).
Be careful about mixing up Subversion clients
So, I did not know that I have two clients, but I use only TortoiseSVN (1.8.10). I just discovered today that I had two when I was trying to troubleshoot.
* UPDATE 3: RESOLUTION * Using @David W's tips, here's how I fixed the problem: 1) Backed up my .svn folder 2) Download the SQLite editor from https://github.com/sqlitebrowser/sqlitebrowser/releases 3) Opened mine wc.db file and scanned the WC_LOCK table. There was 1 entry in this table that I deleted. 4) I tried cleaning with TortoiseSVN (1.8.10), which previously complained about blocking. It finally worked! 5) I tried running commands in my repo (update, commit, etc.), and everything was happy.
Thanks to everyone who helped, especially @David W for not giving up on me.