HgChangeSetMojo throws NumberFormatException if the project has multiple heads
------------------------------------------------------------------------------
Key: MOJO-1597
URL: http://jira.codehaus.org/browse/MOJO-1597
Project: Mojo
Issue Type: Bug
Components: buildnumber
Affects Versions: buildnumber-maven-plugin-1.0-beta-4
Reporter: Jóhann Geir Jónsson
Priority: Minor
Attachments: multi_head_patch.diff
If the versioned project has multiple heads the HgChangeSetMojo fails at
parsing the revision string as an integer. This is used to get the changeset
date.
I here submit a path to fix this. In the case of multiple heads, all of the
changesets are included in the changelog string separated by a '+' sign (as it
is reported in Mercurial). Similarly, all the dates of these changesets are
included, again separated by a '+' sign.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email