Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] New SVN commit message tokens for CMRs
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2013-07-19 14:26:43


Per the Tuesday teleconf, DongInn and I revamped the svn-post-commit hook script a bit this week. The wiki shows all the info you need:

    https://svn.open-mpi.org/trac/ompi/wiki/TracSVNCommitMessages

Short version:

1. "cmr" commands must now be on a line by themselves
2. the cmr commands are now all in the form of key=value
3. you can now pass a "subject=SUBJECT" token

The resulting CMR ticket will have a summary line of "Move r12345 to MILESTONE (SUBJECT)". If you don't supply "subject=SUBJECT", then it will use the first 5 words from the commit message.

The order of the ticket/reviewer/subject tokens doesn't matter; but "cmr" must be first.

Example:

svn ci -m 'This really fixes #4711, and should be added to\ncmr=v1.5:ticket=4711:reviewer=jsquyres:subject=Datatype fix'

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/