buildnumber:hgchangeset fails on uncommited merge
-------------------------------------------------

                 Key: MOJO-1537
                 URL: http://jira.codehaus.org/browse/MOJO-1537
             Project: Mojo
          Issue Type: Bug
          Components: buildnumber
    Affects Versions: buildnumber-maven-plugin-1.0-beta-4
            Reporter: Laurens Blankers


When building a Maven project in a Mercurial repository with an uncommited 
merge the hgchangeset goals fails with a NumberFormatException in the 
getRevision() function because in this state 'id -n' does not return the local 
revision number but rather the two parents with a + in between, e.g. 100+111 
when merging revision 100 and 111.

In stead of failing the plugin should probably just skip setting the date.

-- 
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


Reply via email to