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 ReportSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed 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 File(s):

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1