| Question about hooks (mirroring/svnreplicate)
From: Spike Cacti <spike_cacti_at_yahoo.com>
 Date: 2006-07-26 16:51:51 CEST 
I am trying to fix svnreplicate from : 
 https://open.datacore.ch/DCwiki.open/Wiki.jsp?page=SVNreplicate
 I have added lots of locks/logs/etc... Everything look fine except for this little problem : The script is not notified of problems (like a commit on an non-updated file, or anything that causes an interuption after the start-commit hook (which locks the master server in my setup). This leaves the master server in a locked state and has to be manually removed. 
 I am looking for a way to trap errors (I say that most are logged to apache and wrote a little something to trap the errors in the log file). The only error I haven't found out how to get is when someone "cancels" a commit. 
 So I need a way to either catch these errors or to make tests to know if there is any activity on a repository. Is there a way to know if there is activity on a repo ? 
 Im open to suggestions and will publish the resulting scripts to the lsit if it ends up working :-) My goal was to create something that could mirror SVN reposotories and accept commits both on any server. 
 Or maybe is there a better solution ? Documentation on SVK to create a mirror is far from excellent. It's more a discussion between 2 guys...:-(
 Spike
                  
 | 
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.