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

Re: svnsync docs - start-commit hook does not work as described

From: Dennis Schridde <devurandom_at_gmx.net>
Date: Tue, 18 Aug 2009 17:13:31 +0200

Am Dienstag, 18. August 2009 16:52:52 schrieben Sie:
> > It seems that the svnsync docs[1] are outdated.
> > They say: "you may want to add a start-commit hook script
> > that disallows commits from users other than the one you run
> > svnsync as".
> > But the following "start-commit" hook makes the sync process
> > fail, even though to my opinion it conforms with the
> > abovementioned part of the docs:
> > [...]
> Might the problem be that you used double quotes (") for the USER variable
> and single quotes (') for the actual name?
Shame on me...

The quotes had nothing to do with this. My fault was to copy the pre-revprop-
change hook verbatim to start-commit and just replace the error message. But
the start-commit hook gets the parameters in a different order: User is 2, not
3 as in the other script.

Sorry for the noise!



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-08-18 17:14:43 CEST

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.