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

Re: feature request: svn revision alias

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Tue, 19 Feb 2008 16:27:39 -0600

On Feb 19, 2008, at 14:42, kmradke_at_rockwellcollins.com wrote:

>>> In our build scripts we want to tag "last good nightly build
>>> of release stream x". So, roughly speaking, that amounts to:
>>>
>>> svn cp .../branches/x .../tags/last_good_nightly_x
>>>
>>> However, that doesn't work. More precisely, it only works
>>> the first time. If you do it a second time, you end up with
>>> "x" as a subdirectory inside last_good_nightly_x, because the
>>> second time is't a copy to an existing directory name rather
>>> than a nonexistent directory name.
>>>
>>> So we end up with this:
>>>
>>> svn rm .../tags/last_good_nightly_x
>>> svn cp .../branches/x .../tags/last_good_nightly_x
>>>
>>> and that works.
>>
>> Why is this a problem - because it is a two-step process?
>
> Personally, I think it would be nice to have a '-f' option
> to force an overwrite, thus reducing the 2 steps into one.
> (Just like the unix cp -f)
>
> svn cp -f .../branches/x .../tags/last_good_nightly_x

I believe you can already use the Multiple URL Command Client,
svnmucc, to perform these two steps in a single revision.

http://svn.collab.net/repos/svn/trunk/contrib/client-side/svnmucc/
svnmucc.c

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-19 23:28:07 CET

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.