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

Re: How to manage one project but wtih two repositories

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 2 Jun 2009 09:16:38 +0100

2009/6/1 Mark Breen <marklbreen_at_gmail.com>:
> Hello Mike,
> thanks for the response and the confirmation that I may be on the right
> track,
> I have only recently started using SVN / Tortoise, but so far, I really like
> it.  I am also using ANKH as a VS add-in, which seems to work well for me
> also.
> You mention writing a script.  I will have a read about how to do it, but do
> I presume that I can write a script to do the following
> 1) check out all code from private server
> 2) check out all code from public server
> 3) delete all code from public WC
> 4) copy all code from private WC to public WC
> 5) commit all code from newly updated public WC
> the worries I have about this routine are
> a) I do not like the thoughts of the mass delete, it seems a pity to ask SVN
> to keep track of all of these deletes, when it may be only a handful of
> files that are really getting updated.
> b) how can I delete all code in the public WC anyway, surely it will also
> delete the svn folders and this seems incorrect to me.
> That leave the option of not actually doing the mass delete, but instead
> just overwriting the files, but I really dislike that because it can leave
> old unused files hanging around.
> In summary, unless I do a mass delete and copy of an exported version, I am
> still not sure how I can ensure I post a clean version of the private WC
> code to the public site.
> Have you any similar scripts that I can review, I guess if I hunt around on
> the main site, or in the forums, there are plenty of samples ?
> thanks for your time and attention,
> Mark

You need to change the way you work. What you describe here is simply
using the public repository as an archive of snapshots without any of
the history. It would be much easier to post zip files to perform that
function.

The best plan is to migrate your private repository to the public one
and use tags to mark the release points.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2358692
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-06-02 17:12:28 CEST

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