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

Re: Moving files to production after check-in

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2005-08-12 03:16:29 CEST

Bryce Thornton wrote:

>Hi, I'm new to the list.
>
>I see in the FAQ that the common way to move repository check-ins to a
>live site is by making the live site a working copy. Once the
>check-in is complete a hook runs to do an svn update on the production
>site and all is well. Here's the URL to that FAQ entry:
>
>http://subversion.tigris.org/faq.html#website-auto-update
>
>My problem is that our Subversion repository is not Internet
>accessible and our hosting provider does not run Subversion. Thus,
>the solution in the FAQ won't work for us. Let me know if I'm wrong
>here.
>
>Before using Subversion, I would simply use rsync to keep our test and
>production sites in sync. Is there a way to use rsync with the
>subversion repository in order to achieve the same thing? Anyone have
>a better way to do this?
>
>
If you use FSFS, you can rsync the whole repository. But I think you'd
do better to keep a "production" working copy on your test site, and
just rsync that to your production site. So your process would look like
this:

    * Check in changes to the production branch
    * A hook:
          o updates a local working copy of the production branch
          o rsync's this local copy to the production site

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 12 03:18:13 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.