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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 3.4.9
    • 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.

            698877135425 Mukesh Kumar
            8c1d4893c095 kyrra
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: