[
https://issues.apache.org/jira/browse/SCM-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed SCM-508.
------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> Wrong scm url validation for mercurial provider
> -----------------------------------------------
>
> Key: SCM-508
> URL: https://issues.apache.org/jira/browse/SCM-508
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-mercurial (hg)
> Reporter: Alexander Nemish
> Priority: Major
> Attachments: SCM-508-maven-scm-provider-hg.patch
>
>
> According to documentation (http://maven.apache.org/scm/mercurial.html) scm
> url can be of this form:
> scm:hg:file://C:/dev/project/v3
> but it doesn't work due to a bug in
> https://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.2/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/HgScmProvider.java
> private HgUrlParserResult parseScmUrl( String scmSpecificUrl )
> line 104: if ( !url.startsWith( "file:///" ) && !url.startsWith(
> "file://localhost/" ) )
> The fix might be the following (like in svn provider)
> line 104: if ( !url.startsWith( "file://" ) && !url.startsWith(
> "file://localhost/" ) )
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)