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

Re: Questions about tag style branch/merge approach

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-05-04 20:17:50 CEST

On May 4, 2004, at 12:27 PM, David Budworth wrote:

> We have been doing this as:
> svn del svn://repo/merge-points/mybranch -m 'resetting mp'
> svn cp svn://repo/trunk svn://repo/merge-points/mybranch

The del command will give you the revision number of the result.
Let it be 167 for this suggestion.
You could then:
   svn cp -r 167 svn://repo/trunk svn://repo/merge-points/mybranch

That is still not atomic, but it does eliminate the problem that you
specifically cite:
> ... if someone commits to the trunk after I do my trunk merge and
> before I re-create my merge point, I lose changes that the other
> person committed to trunk.

Tagging an older revision is mentioned at the end of 'svn copy' page in
the Subversion book.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 4 20:21:43 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.