[ https://issues.jenkins-ci.org/browse/JENKINS-12361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162176#comment-162176 ]
SCM/JIRA link daemon commented on JENKINS-12361: ------------------------------------------------ Code changed in jenkins User: Kevin Bell Path: src/main/java/hudson/plugins/mercurial/MercurialSCM.java src/test/java/hudson/plugins/mercurial/MercurialSCMTest.java http://jenkins-ci.org/commit/mercurial-plugin/f53ffd9826cb6d219d9013a2837d658ba4387da7 Log: Fix for JENKINS-12361 Convert all paths to unix format before comparing prefixes > Modules with directory separators don't work on Windows > ------------------------------------------------------- > > Key: JENKINS-12361 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12361 > Project: Jenkins > Issue Type: Bug > Components: mercurial > Environment: Windows > Reporter: Kevin Bell > Assignee: Kevin Bell > Priority: Minor > Labels: plugin, windows > > Specifying a module such as 'src/main' does not work on windows. > Internally, the mercurial plugin converts the module paths to have unix '/' > separators, but paths returned by 'hg status' have '\' separators, so the > String.startsWith(...) test in MercurialSCM.dependentChanges() always returns > false. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira