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

Post commit hook when a new tag is created

From: Bogdan Cristea <cristeab_at_gmail.com>
Date: Tue, 7 Oct 2008 13:38:57 +0300

    I am trying to write a simple post-commit hook so that each time a tag
version of our project is created an e-mail is automatically send and an
archive should be created with all files from this tag. Our repository has
three folders, trunk, tags, branches. While the task of sending an e-mail
every time a commit is made is straightforward, in my case I need more
specific actions:
 
1. call the hook script only when a new tag is created in the tags folder
2. create an archive containing only the project structure (folders and files)
as saved in the tagged version

hot-backup.py script does create an archive, but the entire repository is
saved, including files generated by svnadmin. Viewvc has this feature, of
creating an archive from a selected version, but I don't know how to use that
feature in my script.

Any help would be greatly appreciated.

regards

-- 
Bogdan Cristea
software engineer
Sytron Technologies Overseas
www.sytron.ro
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-07 12:39:24 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.