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

Svn hooks pre-commit - How, for tag operation, check than user make the tag operation in tags directory

From: Georges Martinez-Valentin <georges.martinez-valentin_at_mgeups.com>
Date: Thu, 3 Sep 2009 14:23:11 +0200


my problem : I want to check than any user make tags in the correct
As we use (tags, trunk & branches) directories for all the project
developpment, we want than all tags, are made in the "project/tags"

I try to use pre-commit hook, but i get 2 problems :
i don't arrive to determine whether if the current transation is a
COMMITtransaction or if it is a TAG transaction.
Any where, using svnlook, i get only the repository path of the project,
and not the final directory name as "tags".

Here below more informations about our organization, see below the draft :

/SNVroot---------/Project 1------------/tags
        | /branches
        | /trunk
        |---------/Project 2------------/tags
        | /branches
        | /trunk
        |---------/Project 3------------/tags
        | /branches
        | /trunk

Actually, i use pre-commit hook, for check empty log. And it is running

my questions :

do you think, than i can solve this point, using pre-commit hooks ?
If yes, how ?
how can i know if current transaction is a TAG or COMMIT one ?

Thanks for your help, and for your nice tool. (old CVS user).

Cordialement / Regards

Georges Martinez-Valentin | APC by Schneider Electric | IT Business
| Senior Firmware Engineer - Management products
Phone: +(33).(0) |
Email: georges.martinez-valentin_at_mgeups.com | Site: www.apc-mge.com
Address: 140 avenue Jean KUNTZMANN ZIRST Montbonnot St Martin - 38334 ST
*** Please consider the environment before printing this e-mail


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 14:28:53 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.