[ 
https://jira.codehaus.org/browse/SCM-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319834#comment-319834
 ] 

Robert Scholte commented on SCM-713:
------------------------------------

It looks to be an issue with the working directory.

{{C:\Development\work\repo\JRS\open\base\manager\pom\}} is passed as the 
working directory and the results of {{hg status}} are assumed to be relative 
to this folder.


                
> Check for local modifications works incorrectly with Mercurial
> --------------------------------------------------------------
>
>                 Key: SCM-713
>                 URL: https://jira.codehaus.org/browse/SCM-713
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-mercurial (hg)
>    Affects Versions: 1.7
>            Reporter: Stanilslav Spiridonov
>
> It just ignore modified files. In the log above the "impl\pom.xml" is modified
> {noformat}
> C:\Development\work\repo\JRS\open\base\manager\pom>mvn release:branch 
> -DbranchName=my-branch   -DupdateBranchVersions=true
> C:\Development\work\repo\JRS\open\base\manager\pom>set 
> MAVEN_OPTS=-Dfile.encoding=UTF-8
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] JRESEARCH-COMMONS: POM for base domain managers
> [INFO] JRS-COMMONS: Base service API
> [INFO] JRS-COMMONS: Base service implementation
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building JRESEARCH-COMMONS: POM for base domain managers 1.0.2-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-release-plugin:2.3.2:branch (default-cli) @ 
> org.jresearch.commons.base.manager.pom ---
> [INFO] Verifying that there are no local modifications...
> [INFO]   ignoring changes on: **\release.properties, **\pom.xml.next, 
> **\pom.xml.releaseBackup, **\pom.xml.backup, **\pom.xml.branch, **\pom.xml.tag
> [INFO] EXECUTING: cmd.exe /X /C "hg status"
> [INFO] Not a file: 
> C:\Development\work\repo\JRS\open\base\manager\pom\impl\pom.xml. Ignoring
> [INFO] Not a file: 
> C:\Development\work\repo\JRS\open\base\manager\pom\api\pom.xml.releaseBackup. 
> Ignoring
> [INFO] Not a file: 
> C:\Development\work\repo\JRS\open\base\manager\pom\impl\pom.xml.releaseBackup.
>  Ignoring
> [INFO] Not a file: 
> C:\Development\work\repo\JRS\open\base\manager\pom\pom\pom.xml.releaseBackup. 
> Ignoring
> What is the branch version for "JRESEARCH-COMMONS: POM for base domain 
> managers"? 
> (org.jresearch.commons.base.manager:org.jresearch.commons.base.manager.pom) 
> 1.0.2-SNAPSHOT: : Terminate batch
> job (Y/N)? y
> {noformat}
> {noformat}
> C:\Development\work\repo\JRS\open\base\manager\impl>hg status
> M impl\pom.xml
> ? api\pom.xml.releaseBackup
> ? impl\pom.xml.releaseBackup
> ? pom\pom.xml.releaseBackup
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to