[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnsync: Can't set position pointer

From: Daniel Crandall <dcrandall_at_simplestar.com>
Date: Fri, 8 Feb 2008 10:04:40 -0800

Hi,

I'm trying to set up svnsync to 'replicate' our repositories to a backup
server.
I've set up the target server per the documentation, successfully done the
'svnsync init', and started the initial mirroring of the source repository.
It chugs along committing revisions for a while then it dies with this
error:

Committed revision 214.
Copied properties for revision 214.
svnsync: Can't set position pointer in file
'/home/svn/repos/online/db/revs/215': Invalid argument

I've looked at that file in the source repository and it is empty. i.e.:
root_at_svn1:~# file /home/svn/repos/online/db/revs/215
/home/svn/repos/online/db/revs/215: empty

Further inspection reveals a large swath of empty revisions up to about
revision 250.
I'm not exactly sure how we got empty revisions, though I have some hunches.

So to fix this, I was going to try to dump the source repository and use
svndumpfilter to drop the empty revisions.
But when running svnadmin dump once again I got:
svnadmin: Can't set position pointer in file
'/home/svn/repos/online/db/revs/215': Invalid argument

So my question is: How do I fix this?

Thanks!
daniel crandall | system administrator | simple star | 415.572.0811 |
dcrandall_at_simplestar.com
Received on 2008-02-08 19:05:01 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.