Svn Cannot set position pointer in file
I am having a problem with the svn repository which has been working very well so far.
I am getting the error
svnadmin: Can't set position pointer in file 'repository/db/revs/0/783': Invalid argument
for example when i run
svnadmin verify
Other common symptoms include not being able to check, update, commit, etc.
Any help is greatly appreciated
thank! Peter
source to share
The only solution I could find was to make a copy of my repository like this
svnadmin create newrepo
svnadmin dump -r 0:783 repository | svnadmin load newrepo
mv repository repository_corrupted
mv newrepo repository
After that, as a rule, svn clearing in the lists of users registered in the directory is required
source to share
The easiest way to never set a file position pointer:
I did this:
- Go to the Parent directory (Folder) of Project .
- Click Right Click
- Click on TortoiseSVN , then click on Clear ...
- The cleanup dialog will appear automatically
- Select
Clean up working copy status
,Break locks
,Fix time stamps
,Vacuum pristine copies
,Refresh shell overlays
,Include externals
- Pres OK
Check screenshots for reference.
First step:
Second step:
Hope this helps you.
source to share
Had the same problem with some files. When I drilled down to the corresponding folder, the revision / db / revs / 89 file repository was null. I think the problem might be due to some hardware glitch or power interruption (the repos are on a USB stick). The way I fixed it was to copy 88 to 89 and then I was able to submit the changes again.
source to share
OK ... I had this problem and was able to fix it. I am using FSFS. The last good revision I had was revision no. 88. revision 89 was broken.
I copied the repository and named it
repository-2018-10-18-broken
. Do it first thing !!!I deleted the following files in the original store:
/ Storage / db / rev / 0/89
/ Storage / dB / Revision properties / 0/89
/repository/db/transactions/89*.*
- Using my trusty text editor, I then edited the file
/repository/db/current
and changed89
to88
. I left at the end of a new line.
It works like a charm. I can't say it will work for anyone else, but I don't understand why it won't. It looks like it really, really does remove the bad revision.
source to share