You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jf...@groupe-casino.fr on 2004/10/01 16:31:34 UTC

RE : RE : Create-only access to tags subdirectory

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
<ma...@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 <eh...@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