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

svnsync and hooks on the mirror

From: Nathan Weyer <nweyer_at_seas.upenn.edu>
Date: Wed, 08 Jun 2011 09:03:02 -0400

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.
Received on 2011-06-08 15:38:39 CEST

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