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

RE: Updating to repository, Not to SITE

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2005-12-08 23:08:17 CET

Quoth Jake Robb <mailto:jakerobb@mac.com>:
> I think you may get the results you wanted by setting up a frequent
> cron script on your server to update from the repository. However, I
> think you should reconsider this. It's not generally considered good
> practice to have a webserver immediately reflect changes made to the
> repository head. You'll want to create some sort of deployment
> script which you trigger manually in order to make changes reflect on
> the webserver.

One useful technique is to create a "live" tag/branch and switch the
site's working copy to use that tag. Then you can commit to trunk as
much as you want, and update from the site as much as you want, and the
site won't use the latest changes until you explicitly update the "live"
branch.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 8 23:09:36 2005

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