Hi,
I'm currently developping a set of (Python) scripts
for at least this purpose:
- Check on the server side if the client is allowed
to commit on a given branch.
Our developpers have private branches and they can commit
whenever they want. But more "official" branches are controlled.
So far, I use a set of commitinfo, editinfo, verifymsg !
Editinfo is used to get (on client side) the branch tag,
sets the information in the log file (Read the CVS/Entries,
rebuild the log file).
Verifymsg checks the authorizations regarding to the log file,
on the server side.
Commit info is not really useful for control ! I would expect it
was the one to use ! Did I missed something ? I just read some
docs that says that editinfo should not be used, it is obsolete !
I have now the feeling I'm not on the right track :(
Here is the question :
How can I get the branch name on the server side, from a commit
on the client side ?
I cannot execute a cvs command as cvs status (I need a workspace
and there are the commit locks !)
-MP-
-----------------------------------------------------------------------
Marc POINOT Alias: marcvs Email: [EMAIL PROTECTED]
ONERA -MFE/DSNA/ELSA Tel: 01.46.73.42.84 Info: [EMAIL PROTECTED]
29, Div. Leclerc Fax: 01.46.73.41.66 Site:
92322 Chatillon FRANCE Project: elsA Web: http://www.onera.fr