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

Re: ftp-ing working directory to live website

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-26 20:31:12 CEST

On Oct 26, 2006, at 12:32, James Tu wrote:

> We're using subversion for websites that were creating.
> When we want to 'release' it to the live website, I bascially check
> out the latest copy of the entire directory and FTP it up to the
> server.
> However, I just want the files and not any hidden svn files to go
> to the server...how do I do this?

As others have said, "svn export" is the command that creates a new
tree without the .svn directories.

Another option though is to just use a working copy and to configure
your web server to prevent access to the contents of the .svn
directories. This can be easily accomplished in Apache 2, for example
like this:

RedirectMatch 404 .*/\.svn(/|$)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 26 20:32:03 2006

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.