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

Re: tagging and keeping the tree structure: an existential question

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Thu, 7 Aug 2008 22:10:32 -0500

On Aug 7, 2008, at 13:28, Hilco Wijbenga wrote:

> On Thu, Aug 7, 2008 at 6:16 AM, Michele Zamparelli wrote:
>
>> Notice that such a behavior can be obtained with the command line,
>> although
>> in an error-prone way, by doing something like:
>> svn mkdir -m "creating tag MyTag" svn://URL/tags/Mytag
>> svn mkdir -m "creating tag MyTag" svn://URL/tags/MyTag/alpha
>> svn mkdir -m "creating tag MyTag" svn://URL/tags/MyTag/alpha/beta
>> and finally
>> svn copy -m "tagging MyTag" M1 svn://URL/tags/MyTag/alpha/beta
>
> I would do something like
>
> mkdir -p tags/MyTag/alpha/beta
> svn add tags/MyTag
> svn copy ...
> svn commit
>
> That's not so error prone.

Or even better:

svn copy --parents M1 svn://URL/tags/MyTag/alpha/beta -m "tagging MyTag"

The "--parents" argument to copy and mkdir is available as of
Subversion 1.5.0.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-08 05:11:08 CEST

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.