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

Re: Accidental double tag copy

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Mon, 29 Sep 2008 13:44:12 +0200

On 2008-09-29 05:40:35 -0500, Ryan Schmidt wrote:
> [Running "svn cp $URL/trunk $URL/tags/tagname" twice causes undesirable
> behavior]
> Ok, well you could write a less-restrictive hook script that would
> prevent adding a directory inside a tag directory that has the same name
> as the tag directory. For example, if you have a tag "release-1.2.3", the
> script should prevent the creation of a directory "release-1.2.3" inside
> it. That would solve the specific problem of trying to create a tag that
> already exists. You could do the same for branches if you want.

Shouldn't "svn cp" and "svn mv" have a --no-target-directory option
just like GNU cp and mv?

Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-29 13:44:37 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.