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

Re: File Promotion / Tagging svn vs cvs

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-27 02:20:24 CEST

Shaun Batterton wrote:
> I am working on the same plan, but, when the next promotion occurs, would
> I
> svn rm branches/PRODUCTION
> svn cp trunk branches/PRODUCTION
> and if I do this, don't I lose revision history for branches/PRODUCTION,

Well, not exactly lose, but it becomes extremely inconvenient to inspect, so
I guess practically speaking 'lose' is a mostly valid description.

> that I would have if instead I merged in the trunk into a production
> branch
> instead:
> svn merge -r $r1:$r2 trunk
> svn commit
> The reason I prefer the first method is that I don't need to have a
> working
> copy to promote trunk->production. I also don't need to keep track of the
> last revision # that was already merged into PRODUCTION (or is there a way
> to
> figure this out). Can I do the second method without a working copy?


Perhaps this would work better:

svn rm url://to/branches/PRODUCTION/foobar
svn cp url://to/trunk url://to/branches/PRODUCTION/foobar

Then "svn log -v url://to/branches/PRODUCTION" will show what revision each
copy was made in.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 02:21:56 2004

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.