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

RE: Pre-revprop-change shows no user

From: Roland Cruse <roland.cruse_at_vrs-soft.com>
Date: Mon, 21 Jul 2008 17:09:07 +0200

 I stil do not know why "USER" is not being returned for the pre-revprop-change hook but I found a get around thanks to this link: http://dev.e-taxonomy.eu/trac/wiki/SVNMirroring

Instead of this "USER=${3}" I did this USER=`whoami`. Then the script goes and verifies the user, which is "apache" in my case since I am doing this:
"svnsync init http://svn-slave.1/chorus-proxy-sync file:///var/svn/repository/chorus_master "

The link shows how to log in the hook scripts (make sure the hook can write to the log).

Hope it helps someone.

> -----Original Message-----
> From: Roland Cruse [mailto:roland.cruse_at_vrs-soft.com]
> Sent: Friday, July 18, 2008 2:15 PM
> To: users_at_subversion.tigris.org
> Subject: Pre-revprop-change shows no user
>
>
> Hi
>
> My head is spinning. Can someone help out? Please.
>
> Trying to "init" a webdev dav slave repo which is set to
> version 0. Both slave and master are accessible via their urls.
>
> I call this from the master:
> svnsync init --sync-username svnsync --sync-password svnsync
> http://svn-slave.1/foo-proxy-sync
> file:///home/svnsync/repos/foo_master
>
> Which gives the: "Revprop change blocked by
> pre-revprop-change hook " error
>
> The pre-revprop-change hook, on the slave, checks for the
> correct user and, for debugging, echos out all the variables
> handed to pre-revprop-change EXCEPT "user". Since "user" must
> at least be there to check if it is allowed or not I am stuck.
>
> Any ideas?
> Thanks so much.
> Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-21 17:14:42 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.