[jira] Updated: (SCM-508) Wrong scm url validation for mercurial provider

2011-03-28 Thread Olivier Lamy (JIRA)

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

Olivier Lamy updated SCM-508:
-

Fix Version/s: (was: 1.5)
   1.x

> Wrong scm url validation for mercurial provider
> ---
>
> Key: SCM-508
> URL: http://jira.codehaus.org/browse/SCM-508
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-mercurial (hg)
>Reporter: Alexander Nemish
> Fix For: 1.x
>
> 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 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




[jira] Updated: (SCM-508) Wrong scm url validation for mercurial provider

2010-11-17 Thread Olivier Lamy (JIRA)

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

Olivier Lamy updated SCM-508:
-

Fix Version/s: 1.5

> Wrong scm url validation for mercurial provider
> ---
>
> Key: SCM-508
> URL: http://jira.codehaus.org/browse/SCM-508
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-mercurial (hg)
>Reporter: Alexander Nemish
> Fix For: 1.5
>
> 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 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




[jira] Updated: (SCM-508) Wrong scm url validation for mercurial provider

2010-11-17 Thread Laurent Perez (JIRA)

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

Laurent Perez updated SCM-508:
--

Attachment: SCM-508-maven-scm-provider-hg.patch

Please find an attached path with the file:// fix, this will allow Windows 
users to release on local repositories like : 

{code}

scm:hg:file://c/devhome/projects/maven/repo/

scm:hg:file://c/devhome/projects/maven/repo/

{code}



> Wrong scm url validation for mercurial provider
> ---
>
> Key: SCM-508
> URL: http://jira.codehaus.org/browse/SCM-508
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-mercurial (hg)
>Reporter: Alexander Nemish
> 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 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