You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nathan Weyer <nw...@seas.upenn.edu> on 2011/06/08 15:03:02 UTC

svnsync and hooks on the mirror

Hello all.

I tried searching and could not find any answers to this question, but I 
apologize if this has come up before and I missed it.

This is in regard to behavior of an svnsync mirror repository (not the 
master) in 1.6.11.  The mirroring is up and running fine, with commits 
on the master correctly appearing on the mirror.

So my question is this: which hooks on the mirror are expected to 
execute during the process?

The pre-commit hook obviously does since that stops anyone other then 
the svnsync user from committing, but I am not seeing a peep out of the 
post-commit hook. I am not sure if it simply does not run or if I have 
an error I should be running to ground.

In our setup it would be nice if the mirror was able to run a few 
maintenance scripts for each mirrored commit.

Thank you for any help that can be passed back along.