bugConcurrent Versions System - Bugs: bug #15546, Pass branch name to serverside...


bug #15546: Pass branch name to serverside scripts

Submitted by:  None
Submitted on:  Sat 28 Jan 2006 12:31:27 AM UTC  
Category:  Bug Report Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 28 Jan 2006 12:31:27 AM UTC, original submission:

When a file is committed to a branch, the branch name should be provided to the server side scripts. Ideally, the branch name could be passed in via an argument in commitinfo, loginfo, editinfo, etc.

For example:

I would like to be able to restrict commits to a particular branch of a particular module. I can write a script to handle the logic, but this script needs to know the name of the branch for which the commit is made. Ideally, I would like to add the following line to commitinfo where %{b} represents the branch name:

module1 $CVSROOT/CVSROOT/commitcheck %{b}

${b} should expand to the actual branch name or "NONE" if this change is not being made to a branch.

Similarly, this feature would be useful for verifying commit messages (editinfo) only on a particular branch or modifying recipient lists (loginfo) based on a particular branch (this issue is non-blocking for the loginfo case since the cvs notification actually contains the branch name).



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3