[
https://issues.apache.org/jira/browse/SCM-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964472#comment-17964472
]
Olivier Lamy commented on SCM-314:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#530|https://github.com/apache/maven-scm/issues/530].
> BazaarScmProviderRepository doesn't work with file URL on Windows
> -----------------------------------------------------------------
>
> Key: SCM-314
> URL: https://issues.apache.org/jira/browse/SCM-314
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-bazaar
> Affects Versions: 1.0-rc1
> Reporter: Kohsuke Kawaguchi
> Assignee: Emmanuel Venisse
> Priority: Major
> Fix For: 1.1
>
>
> new BazaarScmProviderRepository("file:///c:/program
> files/cygwin/tmp/test").getURI() returns "file://c:\program
> files\cygwin\tmp\test", which Bazaar rejects as
> {noformat}
> bzr: ERROR: Invalid url supplied to transport: 'file://c:\\program
> files\\cygwin\\tmp\\test/': Win32 UNC path urls have form file://HOST/path
> {noformat}
> Any reason why getURI() method is not implemented as follows?
> {noformat}
> public String getURI()
> {
> return orgUrl;
> }
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)