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

+3


source to share


4 answers


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

0


source


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:



enter image description here

Second step:

enter image description here

Hope this helps you.

0


source


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.

0


source


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.

  1. I copied the repository and named it repository-2018-10-18-broken

    . Do it first thing !!!

  2. I deleted the following files in the original store:

/ Storage / db / rev / 0/89

/ Storage / dB / Revision properties / 0/89

/repository/db/transactions/89*.*

  1. Using my trusty text editor, I then edited the file /repository/db/current

    and changed 89

    to 88

    . 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.

0


source







All Articles