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

Re: Getting exclusive access to the repository

From: <sussman_at_collab.net>
Date: 2003-01-23 17:57:25 CET

Neil Schemenauer nas@mems-exchange.org writes:

 The docs for 'svnadmin recover' say:
 
     WARNING: only run this when you are SURE you're the only process
     accessing the repository. Requires exclusive access.
 
 How do you ensure that when using ra_svn with the ssh-tunnel option?

Kill the svnserve process?

 The best idea we came up with is copying the whole repository, doing the
 recover and then moving it back. Why isn't there a lock that can be
 taken to enforce this?

There is a lock. But 'svnadmin recover' starts out destroying that
lock on purpose (because some other process accessing the repos may
have died), and then recreates it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:09:25 2006

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