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

Re: Merge trunk and prod directories without workspace

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 16 Mar 2015 15:44:38 -0500

On Mon, Mar 16, 2015 at 3:16 PM, Lathan Bidwell <lathan_at_andrews.edu> wrote:
>
>>
>> > I have a content management system running on top of SVN. My web servers
>> > run a post commit hook that does svn update off of svnlook after every
>> > commit.
>> >
>> > I currently have a "Publish" operation which I implement by doing svn
>> > delete $prod_url && svn cp $trunk_url $prod_url. (both repo urls)
>> >
>> > This causes problems because the post commit hook triggers a delete of
>> > the folder on my production web server, and then sometimes takes longer to
>> > re-download all the content (some folders have some decent media, about
>> > 15-30 gig).

Don't you really want to just 'svn switch' your production workspace
to the new production target url instead of deleting and checking out
again? As long as the content shares ancestry it should just move the
differences.

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
Received on 2015-03-16 21:46:36 CET

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.