Something like that can only be done via a subversion hook. Specifically you would need to make a pre-commit hook that parses the commit message and checks the ticket status.
--Noah > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Mark Stellaard > Sent: Monday, May 10, 2010 12:41 PM > To: [email protected] > Subject: [Trac] How to force commiting can only occur when trac status > of a ticket is accepted. > > Hi all, > > Several team members in our project commit svn modifications, although > the Trac ticket status is still new. > I'm looking for a way to ensure commiting is only possible when the > Trac > status of a ticket is minimal 'accepted' (or different). > > Should this be done using a svn hook, or does Trac support this out of > the box? > > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to trac- > [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
