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

RE: How to move changes from dev to live in svn

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2006-03-13 06:23:52 CET

I use 'environment' tags to refer to what's in each controlled
environment. I keep these tags in /env instead of /tags so as to keep
them separated from the developers' tagging 'space'.

To 'move' the 'tag', all you have to do is:

1) svn rm http://server/repos/env/prod
2) svn cp http://server/repos/trunk http://server/repos/env/prod

To prevent timing issues of something like CruiseControl polling for
changes while you're inbetween these 2 steps, I have shell scripts to
run common promotions.

> -----Original Message-----
> From: Janine Sisk [mailto:janine@furfly.net]
> Sent: Sunday, March 12, 2006 9:55 PM
> To: Subversion Users
> Subject: How to move changes from dev to live in svn
>
> The recent discussion of the lack of CVS-like tags made me realize
> that I actually depend on those quite a bit right now. I am not
> looking to reopen the discussion of whether svn should have "real"
> tags or not; that is obviously pointless. What I do want to know is
> what the "svn way" of doing this would be:
>
> I build websites, and constantly need to move changes from the dev
> site to the live site. The current way of doing it goes like this:
> When the changes are ready to go, I tag them with "stable". Then I
> pop over to the live site, which was checked out on the "stable" tag
> when it was first set up, and do a cvs update. This grabs the
> changes I tagged and nothing more. Note that this is not necessarily
> everything that has been committed; I might commit 10 files but only
> tag 3 of them as stable. I think this is going to be a significant
> area of difference, given svn's atomic commits.
>
> Any suggestions on how to accomplish something similar in
> Subversion? I did look over the book at red-bean.com but if the
> answer is there I missed it.
>
> Thanks in advance,
>
> janine
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 13 06:20:32 2006

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.