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

RE: readonly repo and echo for custom message

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-02-11 12:11:34 CET

Hi,

if you want to send text from a hook script back to the client, you have to
write
to stderr. On Windows it's the same as on Unix, so use:

echo "this is read only" 1>&2

Since you're using apache, you can also use mod_authz_svn with an
svnaccess.conf
file like this to make the repository read-only:

[myrepos:/]
* = r

Lieven.

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of matador
> Sent: zaterdag 11 februari 2006 2:06
> To: users@subversion.tigris.org
> Subject: readonly repo and echo for custom message
>
> making a repo read only so just a simple script for start-commit.bat.
>
>
> <<
>
> echo "this is read only"
>
> exit 1
>
> >>
>
>
>
>
> this works fine in terms of blocking a commit but i dont get my error
>
> message << this is read only >> in the svn client (tortoise)
>
>
>
> did i miss something?
>
>
>
> svn 1.1.4
>
> apache 2.x
>
> tortoise 1.3.0
>
>
> ---------------------------------------------------------------------
> 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 Sat Feb 11 12:14:50 2006

This is an archived mail posted to the Subversion Users mailing list.