Issue Details (XML | Word | Printable)

Key: SCM-314
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Emmanuel Venisse
Reporter: Kohsuke Kawaguchi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven SCM

BazaarScmProviderRepository doesn't work with file URL on Windows

Created: 13/May/07 09:43 AM   Updated: 14/May/08 03:44 PM
Component/s: maven-scm-provider-bazaar
Affects Version/s: 1.0-rc1
Fix Version/s: 1.1

Time Tracking:
Not Specified

Complexity: Intermediate


 Description  « Hide
new BazaarScmProviderRepository("file:///c:/program files/cygwin/tmp/test").getURI() returns "file://c:\program files\cygwin\tmp\test", which Bazaar rejects as
bzr: ERROR: Invalid url supplied to transport: 'file://c:\\program files\\cygwin\\tmp\\test/': Win32 UNC path urls have form file://HOST/path

Any reason why getURI() method is not implemented as follows?

    public String getURI()
    {
        return orgUrl;
    }


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Emmanuel Venisse added a comment - 14/May/08 03:44 PM
Fixed. Now, for file URL, we return orgUrl