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

Re: .svn folders

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-01-19 16:41:17 CET

Peter Valdemar Mørch wrote:

> Or you can "svn co" + "find wc -name .svn -type d | xargs rm -rf" or
> you can just disallow access to any .svn file in your apache config.
> (Which is what I do)
> <LocationMatch /.svn>
> Order allow,deny
> Deny from all
> </LocationMatch>

Zouari, I would recommend this option. Another benefit of this is that
if you have shell access to your web server, you could then update to
the latest version using "svn update", which would be *much* faster than
a new checkout or export each time.

In order to also prevent .svn directories from showing up in directory
listings, find the "IndexIgnore" option in your Apache config and add
".svn" to its list (or if you aren't Apache admin, create an .htaccess
file with "IndexIgnore .svn" in it).

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 19 16:44:05 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.