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

Re: svn export and deleted files

From: Mark Reibert <svn_at_reibert.com>
Date: Fri, 11 Jul 2008 21:59:59 -0700

On Fri, 2008-07-11 at 13:57 +0100, Greg Thomas wrote:
> On Fri, 11 Jul 2008 05:45:06 -0700, "Waynn Lue" <waynnlue_at_gmail.com>
> wrote:
> >I'm using svn export to update a production website as certain users make
> >changes. I pass the --force flag to clobber existing files, but I realized
> >that if I do svn delete, that change isn't reflected in production.
> Make you web site a working copy; a "svn update" will then ensure
> files are appropriately deleted.

If you do not want all the .svn directories on your web server you can
use svn export along with rsync. Something like:

svn export $REPO_URL /tmp/stage
rsync -aHS --delete /tmp/stage/ $DOCUMENT_ROOT

Mark S. Reibert, Ph.D.
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-12 07:15:55 CEST

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.