Unable to use System Mercurial (version more that 4.8.1) on Sourcetree for Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: High
    • None
    • Affects Version/s: 3.4.9
    • Component/s: Mercurial
    • None
    • Severity 2 - Major

      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.

            Assignee:
            Mukesh Kumar (Inactive)
            Reporter:
            kyrra
            Votes:
            10 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: