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

RE : RE : Create-only access to tags subdirectory

From: <jfparis_at_groupe-casino.fr>
Date: 2004-10-01 18:31:34 CEST

Here it is. Should work on both unix and windows BUT use temporary files

-----Message d'origine-----
De : jfparis@groupe-casino.fr [mailto:jfparis@groupe-casino.fr]
Envoyé : vendredi 1 octobre 2004 17:09
À : thomasgd@omc.bt.co.uk
Cc : users@subversion.tigris.org
Objet : RE : Create-only access to tags subdirectory

In fact the script will not work on window because it use a unix specific
module. I'm writing a patch at the momment will send it here in about 30
minutes

-----Message d'origine-----
De : Greg Thomas [mailto:thomasgd@omc.bt.co.uk
<mailto:thomasgd@omc.bt.co.uk> ]
Envoyé : vendredi 1 octobre 2004 15:28
À : users@subversion.tigris.org
Objet : Re: Create-only access to tags subdirectory

On Fri, 1 Oct 2004 15:48:35 +0200, Erik Huelsmann <ehuels@gmail.com>
wrote:

>We provided you with one:
>http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/svnperms.py
<http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/svnperms.py> ;
>there is an example configuration there too.

Tried that, with a BAT file;
python %~dp0/svnperms.py -r %1 -t %2 -f %~dp0/svnperms.conf

and the following single line conf file;
[^/]+/tags/ = *(add)

And I just get the following ...
D:\>svn copy file:///d:/svn-test-repos/test-project/tags/release-1.0/a.a
<file:///d:/svn-test-repos/test-project/tags/release-1.0/a.a>
file:///d:/svn-test-repos/test-project/tags/release-1.0/c.c
<file:///d:/svn-test-repos/test-project/tags/release-1.0/c.c>
svn: 'pre-commit' hook failed with error output:
svnlook author d:\svn-test-repos -t 15
'{' is not recognized as an internal or external command, operable program
or batch file.error: command failed: svnlook author d:\svn-test -repos -t 15
'{' is not recognized as an internal or external command, operable program
or batch file.

Any ideas as to what may be going wrong?

TIA,

Greg

-- 
This post represents the views of the author and does 
not necessarily accurately represent the views of BT. 
--------------------------------------------------------------------- 
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org 
For additional commands, e-mail: users-help@subversion.tigris.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Oct 1 17:32:33 2004

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.