${scmBranch} from Mercurial is always UNKNOWN
---------------------------------------------

                 Key: MBUILDNUM-72
                 URL: https://jira.codehaus.org/browse/MBUILDNUM-72
             Project: Mojo Build Number Maven Plugin
          Issue Type: Bug
    Affects Versions: buildnumber-maven-plugin-1.0
            Reporter: Brendan Long
            Priority: Minor


To get a branch, the Build Number plugin is running "hg id -i", but that only 
returns the revision number. To get the branch number, you should use "hg id 
-b" (or get both at the same time with "hg id -bi").

Example:
[INFO] EXECUTING: cmd.exe /X /C "hg id -i"
[INFO] Storing buildNumber: 694d48524caf at timestamp: 1316106695958
[INFO] EXECUTING: cmd.exe /X /C "hg id -i"
[INFO] Storing buildScmBranch: UNKNOWN

--
This message is automatically generated by JIRA.
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