Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-1932

SourceTree should fall back on python2.7 if "python" corresponds to python 3.x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • None
    • Mercurial
    • None
    • OS X 10.9.0, Mavericks

    • Severity 3 - Minor

      The hg_local script uses "/usr/bin/env python" to run python. This causes problems if the default version of python is python 3.x (mercurial doesn't work with py3k). I think that GUI apps ignored the $PATH setting of the user in OS X 10.8, but in OS X 10.9, it seems to use my $PATH and picks /opt/local/bin/python, which is a symlink to python3.3. Just hard-coding python2.7 might be an acceptable solution, but with a bit of extra code you could set it up so that python2.7 is only used as a fallback if python corresponds to python3.

              Unassigned Unassigned
              849dcde50e91 Mark Moll
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: