Mercurial plugin cannot clone from repository on remote file system

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We use Mercurial for source control and have a central repository located on a server on the network that we access directly via the file system. I realize that this is not the recommended setup (ssh or https is preferred), but being on the LAN, the security concerns are not an issue.

      The problem I have is that the following command WORKS from the command line:
      hg clone \\MACHINENAME\Path\To\Repo

      ... but when I configure the Mercurial plugin to use this path, I get the following error:

      Building in workspace C:\Program Files (x86)\Jenkins\workspace\TestProject
      $ "C:\Program Files\TortoiseHG\hg.exe" --debug clone --rev default --noupdate \\MACHINENAME\Path\To\Repo "C:\Program Files (x86)\Jenkins\workspace\TestProject"
      abort: repository \\MACHINENAME\Path\To\Repo not found!
      ERROR: Failed to clone \\MACHINENAME\Path\To\Repo
      ERROR: Failed to clone \\MACHINENAME\Path\To\Repo
      Finished: FAILURE

      I have of course replaced the paths. I have tried every combination of \ and / possible. However the fact that it works from the command-line and not from the plug-in makes me think it's a bug with the plug-in.

      Is there a way to do what I'm trying to do without setting up SSH or HTTPS access to the repo?

            Assignee:
            Jesse Glick
            Reporter:
            Zamir Khan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: