Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-713

Check for local modifications works incorrectly with Mercurial

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.7
    • None
    • None

    Description

      It just ignore modified files. In the log above the "impl\pom.xml" is modified

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              foal Stanislav Spiridonov
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: