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

BazaarScmProviderRepository doesn't work with file URL on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-rc1
    • 1.1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: