Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-13887

Unable to use System Mercurial on Sourcetree for Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Triage (View Workflow)
    • High
    • Resolution: Unresolved
    • 3.4.9
    • None
    • Mercurial
    • None
    • Severity 2 - Major

    Description

      It seems that Mercurial refuses to acknowledge Mercurial versions >= 5.  Or there is some bug where it refuses to even try to run `hg` from the system path.  I can sort of prove this based on the Process Log output on windows.  The below are the process log calls when I open the options window and press the "System" button for mercurial.  The last `hg --version` call doesn't run against the one on path, but the one it  has in it's install folder.

       

        {
          "Command": "hg --version",
          "Directory": "C:\\Users\\kyrra\\AppData\\Local\\Temp\\",
          "Status": "Finished",
          "Duration": "00:00:00",
          "CallerContext": "GetVersionNumber",
          "Output": "System.ComponentModel.Win32Exception: The system cannot find the file specified\n"
        },
        {
          "Command": "where hg.exe",
          "Directory": "C:\\Users\\kyrra\\AppData\\Local\\Temp\\",
          "Status": "Finished",
          "Duration": "00:00:00",
          "CallerContext": "FindInstallationViaPathEnvVar",
          "Output": "C:\\Program Files\\TortoiseHg\\hg.exe\n"
        },
        {
          "Command": "where hg.exe",
          "Directory": "C:\\Users\\kyrra\\AppData\\Local\\Temp\\",
          "Status": "Finished",
          "Duration": "00:00:00",
          "CallerContext": "FindInstallationViaPathEnvVar",
          "Output": "C:\\Program Files\\TortoiseHg\\hg.exe\n"
        },
        {
          "Command": "hg --version",
          "Directory": "C:\\Users\\kyrra\\AppData\\Local\\Temp\\",
          "Status": "Finished",
          "Duration": "00:00:00",
          "CallerContext": "GetVersionNumber",
          "Output": "System.ComponentModel.Win32Exception: The system cannot find the file specified\n"
        },
      
      

       
      This is an issue, as the version of Mercurial that ships with Sourcetree for Windows is 4.8.1, which is missing many newer features, and is not compatible with many repositories now.

      Attachments

        Activity

          People

            Unassigned Unassigned
            8c1d4893c095 kyrra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: