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

WebSVN configuration: allowDownloads

From: Lutz Frommberger <lutz_at_informatik.uni-bremen.de>
Date: 2005-07-28 12:48:33 CEST

Hi there,

I hope I can ask a question regarding WebSVN. I want to restrict the use
of the download option on some repositories. There is an option in the
config file:

---snip---
// To change the global option for individual repositories, uncomment
// and replicate the required line below (replacing 'myrep' for the
// name of the repository to be changed).

$config->findRepository("myrep")->allowDownload();
---snap---

But I did not manage to find out what I have to replace "myrep" with.
Everything I tried up to now (Repository name, Path, with and without ")
failed and brought

Parse error: parse error, unexpected T_OBJECT_OPERATOR in
/etc/websvn/config.inc on line 176

Can anyone give me a hint or an example what to put there?

regards,

-- 
Lutz Frommberger
SFB/TR 8 Spatial Cognition - Project R3-[Q-Shape]
Cognitive Systems Research Group, Universität Bremen
http://www.cosy.informatik.uni-bremen.de/staff/lutz/

Received on Thu Jul 28 12:50:29 2005

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.