Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-314

BazaarScmProviderRepository doesn't work with file URL on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-rc1
    • Fix Version/s: 1.1
    • Labels:
      None

      Description

      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;
          }
      

        Attachments

          Activity

            People

            • Assignee:
              evenisse Emmanuel Venisse
              Reporter:
              kohsuke Kohsuke Kawaguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: