On Thu, Aug 23, 2012 at 12:41:03PM -0700, Peter Wemm wrote:
> * We have some "seed" tarballs of recently synced repo images around
> somewhere. I'll see where they're available.  But in a nutshell, you
> do this:
>   /home/peter/svnsync$ fetch svnmirror-base-r123456.txz
>   /home/peter/svnsync$ tar xf svnmirror-base-r123456.txz
>   /home/peter/svnsync$ svnsync file:///home/peter/svnsync/base
> and run that from cron with a lock file, probably with "-q" for quiet.
> Then you can have a local copy of the repo for offline use.  It has
> the same repo uuid so you can svn switch/relocate at will.  I
> personally on my laptop.

Why do you recommend lock file ? svnsync locks the repository on its own,
AFAIR. More, the lock is quite sticky, so died svnsync usualy require
manual intervention to allow other syncsync jobs to process.

Is there something I am not aware of that requires lock file ?

Attachment: pgp54X45vIr4I.pgp
Description: PGP signature

Reply via email to