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

Re: steps for synchronizing with production server

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 20 May 2009 09:07:07 -0500

webpost_at_tigris.org wrote:
> What are the best steps for updating a local SVN with changes from production? We've got 20GB of files and on a last attempt, ended up with old repo (.svn) folders and a mess.
>
> Is there a more efficient way to migrate changes to the dev repository? Thanks for any advise.
>
> 1.) Copy PROD to LOCALPROD
> 2.) Remove LOCALPROD svn entries
> $ find -name .svn -print | xargs rm -rf {}
> 3.) Remove LOCALPROD orphans
> .... ?
> 4.) Copy LOCALPROD over LOCALDEV
> $ cp -rf * LOCALDEV/*
> 5.) Update subversion repo
> $ su sync_user && svn update && svn commit -m'updating from production'

Subversion isn't designed to have multiple copies of the repository.
Why don't you just copy to a branch in the production repository for
whatever non-trunk development you are doing so you'll be able to merge
subsequent updates?

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2330775
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-20 16:08:22 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.