You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Maksimenko (JIRA)" <ji...@codehaus.org> on 2011/02/02 16:15:22 UTC

[jira] Closed: (MRELEASE-637) hg not under root

     [ http://jira.codehaus.org/browse/MRELEASE-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Maksimenko closed MRELEASE-637.
-----------------------------------------

    Resolution: Fixed

yes - when make cd C:\dev release performed successfully
thanks!

> hg not under root
> -----------------
>
>                 Key: MRELEASE-637
>                 URL: http://jira.codehaus.org/browse/MRELEASE-637
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Maven 3.0
> Windows 7
> Mercurial 1.5.2
>            Reporter: Alexander Maksimenko
>
> When I call mvn release:prepare for project with sub-projects I got 
> [INFO] EXECUTING: cmd.exe /X /C "hg commit --message "[maven-release-plugin] prepare release 
> 1.0.8.3" c:\dev\projects\test2\pom.xml C:\dev\projects\test2\generated\pom.xml"
> [ERROR]
> EXECUTION FAILED
>   Execution of cmd : commit failed with exit code: -1.
>   Working directory was:
>     c:\dev\projects\test2
>   Your Hg installation seems to be valid and complete.
>     Hg version: 1.5.2 (OK)
> When I call this command directly I've got
> hg commit --message "[maven-release-plugin] prepare release" c:\dev\projects\test2\pom.xml C:\dev\projects\test2\generated\pom.xml
> abort: C:\dev\projects\test2\generated\pom.xml not under root
> So seems hg requires relative path to commited files
> When I call 
> hg commit --message "[maven-release-plugin] prepare release" pom.xml generated\pom.xml
> everything is OK

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