[Bitkeeper-users] Questions about bk commit template

Rick Smith rick at bitmover.com
Fri Jun 23 10:34:05 PDT 2006


Hi,

You can use a pre-delta trigger to filter the comment.
Look for BK_COMMENTFILE in "bk help triggers".

-- Rick

On Fri, Jun 23, 2006 at 01:17:52PM -0400, Elliot Murphy wrote:
> Hi!
> 
> I'm trying to use the bk commit template to remind developers to add a
> comment including the bug number they are fixing.
> 
> Is there a way to have some help text in the template which is not added
> to the comment even if a developer forgets to trim the text? I want to
> do something like this:
> 
> ------o<-------------------------------------------------------
> BUG#<your bug number>
> WL#<worklog id>
> 
> > You must make sure to enter either a bug number or a reference to
> > the feature design document. Also, please include a high-level
> > description of the problem that is solved by this changeset, not
> > just a technical description of the code that was changed.
> -------->o------------------------------------------------------
> 
> and I want the text prefixed by '>' to be excluded from the changeset
> comments automatically, even if the developer neglects to delete it.
> 
> Any way to do this?
> 
> cheers,
> -elliot
> _______________________________________________
> Bitkeeper-users mailing list
> Bitkeeper-users at bitmover.com
> http://mail.bitmover.com/mailman/listinfo/bitkeeper-users


More information about the Bitkeeper-users mailing list