[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: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 20 May 2009 21:03:57 +0400

Greetings, webpost_at_tigris.org!

> 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.

You mean that you working with two Subversion servers and need to mirror
changes from one to another?
Then, please, read svnbook (http://svnbook.org) first and foremost, then use
proper tools for proper tasks.

> 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'

This all absolutely unnecessary. If not meaningless. Subversion already offers
a way to ease your life and save brain, but you seem to like to waste both of
it...
Especially, read about commands switch, copy, merge of svn utility.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 20.05.2009, <20:59>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2332526
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-20 19:05:58 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.