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

RE: Hooks behaviour with svnsync

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Wed, 2 Sep 2009 14:04:10 +0200

> > On Tue, Sep 1, 2009 at 12:55 PM, Radomir Zoltowski
> > <radomir.zoltowski_at_s3group.com
> <mailto:radomir.zoltowski_at_s3group.com>>
> > wrote:
> >
> > Hi all,
> >
> > I am having a little problem to make svnsync work through
> > post-commit +
> > pre-revprop-change pair. My setup is logically identical to
> this one:
> > http://blogs.open.collab.net/svn/2007/08/mirroring-repos.html
> >
> > However, if I perform a commit as a user other than
> 'svnsync', the
> > post-commit works to the point that is executes pre-revprop-
> change on
> > the mirror. Then the pre-revprop-change on mirror fails as it
> sees
> > $USER
> > as my username instead of 'svnsync'. It fails with:
> >
> > Warning: post-commit hook failed (exit code 1) with output:
> > svnsync: Revprop change blocked by pre-revprop-change hook
> (exit
> > code 1)
> > with output:
> > Only the svnsync user may change revision properties as this
> is a
> > read-only, mirror repository.

What does your pre-revprop-change hook look like on the mirror?

Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390150

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-02 14:05:17 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.