• cmp@chromium.org's avatar
    Make git-cl and update_depot_tools msys-compatible. · 4c6e404c
    cmp@chromium.org authored
    This change makes it possible to run 'git cl' from
    a Command Prompt using only the auto-installed git
    from depot_tools.  It is needed because in MSysGit,
    'git cl' invokes 'git' which calls 'git-cl'.  While
    'git-cl' is pulled from depot_tools (since it's in
    PATH), depot_tools/python_bin is not in PATH, and
    so we execute git_cl.py through our auto-installed
    python.exe directly.
    
    update_depot_tools is fixed so that if we find
    the auto-installed svn and git in depot_tools, we
    execute those directly, otherwise falling back to
    calling them based on PATH.
    
    In both git-cl and update_depot_tools, we only enable
    this new behavior if uname in PATH reports a 'MINGW'
    environment.  This should not trigger on any other
    environment where uname exists, including Cygwin which
    should report 'CYGWIN'.
    Review URL: http://codereview.chromium.org/7020035
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@87510 0039d316-1c4b-4281-b951-d872f2087c98
    4c6e404c
Name
Last commit
Last update
bootstrap Loading commit data...
git_cl Loading commit data...
tests Loading commit data...
third_party Loading commit data...
zsh-goodies Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README Loading commit data...
README.codereview Loading commit data...
README.gclient Loading commit data...
README.git-cl Loading commit data...
README.testing Loading commit data...
WATCHLISTS Loading commit data...
apply_issue.py Loading commit data...
breakpad.py Loading commit data...
checkout.py Loading commit data...
chrome-update-create-task.bat Loading commit data...
chrome-update.bat Loading commit data...
chrome-update.py Loading commit data...
chromite Loading commit data...
codereview.settings Loading commit data...
commit_queue.py Loading commit data...
cpplint.bat Loading commit data...
cpplint.py Loading commit data...
create-chromium-git-src Loading commit data...
drover Loading commit data...
drover.bat Loading commit data...
drover.py Loading commit data...
fix_encoding.py Loading commit data...
gcl Loading commit data...
gcl.bat Loading commit data...
gcl.py Loading commit data...
gclient Loading commit data...
gclient.bat Loading commit data...
gclient.py Loading commit data...
gclient_scm.py Loading commit data...
gclient_utils.py Loading commit data...
git-cl Loading commit data...
git-cl-upload-hook Loading commit data...
git-gs Loading commit data...
git-try Loading commit data...
git_cl.py Loading commit data...
hammer Loading commit data...
hammer.bat Loading commit data...
owners.py Loading commit data...
patch.py Loading commit data...
presubmit_canned_checks.py Loading commit data...
presubmit_support.py Loading commit data...
profile.xml Loading commit data...
pylintrc Loading commit data...
repo Loading commit data...
rietveld.py Loading commit data...
scm.py Loading commit data...
subprocess2.py Loading commit data...
trychange.py Loading commit data...
update_depot_tools Loading commit data...
watchlists.py Loading commit data...
weekly Loading commit data...
wtf Loading commit data...