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

Duplicate Tag creation stop script

From: Patwardhan, Rajesh <rajesh.patwardhan_at_etrade.com>
Date: 2007-08-08 03:40:15 CEST


Thank you very much for taking the time to read my email.

I had a quick question.
I know there was a script which could be plugged into the pre-commit
hook in subversion to
1/ stop accidental run of the tag creation command.
2/ stop checkin on tags directory.

So it would only allow a creation of a tag in the tags directory and
subsequent run of the same command would not allow creation of a
unwanted directory in the intended tag directory.

For e.g
svn copy http://myserver/svn/mymodule/branches/my_branch/
http://myserver/svn/mymodule/tags/my_tag -m"Good message"

Now the script I am hoping existed would not allow rerun of the above
command as also this could be achieved by stopping a checkin into a tag
if it already existed.

Could someone please point me in the right direction.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 8 03:38:40 2007

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.