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

Errors running svnsync

From: Matthew Weier O'Phinney <matthew_at_zend.com>
Date: 2007-09-04 10:11:38 CEST

We have a large repository that we'd like to mirror. After reading the
documentation on repository replication using svnsync, I did the

  * Created 'syncuser' users on both the original system and the system
    hosting the mirror, and shared public SSH keys between them (our
    master repository is available via SSH only).

  * Created a new repository on the mirror system:
        svnadmin create /svnmirror

  * Created a pre-revprop-change hook script. Originally, I did as the
    manual suggests, having the script exit with status 0 if the user is
    our syncuser, and with status 1 for other users. However, this
    failed every single time, so it is now simply an empty script.

  * Created a start-commit hook script that exits with status 0 if the
    user is our syncuser, and status 1 for all others.

  * Initialized svnsync, running as user 'syncuser':
        svnsync init file:///svnmirror svn+ssh://remote.server/subversion

  * Begain syncing:

        svnsync sync file:///svnmirror

This started out fine. However, when we get to revision 2959 (of around
6100), it fails. At that time, I get the following:

    Committed revision 2958.
    Copied properties for revision 2958.
    svnsync: Path 'XXXX' not present

and svnsync silently fails. Any attempt to restart the sync results in
the same 'path not present' message, and it never completes.

I've checked with the master repository, and it's during that revision
that the path represented by 'XXXX' is initially imported.

We're using subversion 1.4.4 RHEL4 rpms on each machine.

Any ideas?

Matthew Weier O'Phinney
PHP Developer            | matthew@zend.com
Zend - The PHP Company   | http://www.zend.com/
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 4 10:09:24 2007

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.