Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: git-try

Issue 7114002: Make git try work on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | git_try.py » ('j') | git_try.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-try
===================================================================
--- git-try (revision 88024)
+++ git-try (working copy)
@@ -3,20 +3,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
M-A Ruel 2011/06/06 21:35:47 The fact that rietveld decided that it's a replace
-# git-cl -- a git-command for integrating reviews on Rietveld
-# Copyright (C) 2008 Evan Martin <martine@danga.com>
-
base_dir=$(dirname "$0")
-"$base_dir"/update_depot_tools
-
# Test if this script is running under a MSys install. If it is, we will
# hardcode the path to Python where possible.
OUTPUT="$(uname | grep 'MINGW')"
MINGW=$?
if [ -d "$base_dir/python_bin" -a $MINGW = 0 ]; then
- exec "$base_dir/python_bin/python.exe" "$base_dir"/git_cl.py "$@"
+ exec "$base_dir/python_bin/python.exe" "$base_dir"/git_try.py "$@"
else
- exec "$base_dir/git_cl.py" "$@"
+ exec "$base_dir/git_try.py" "$@"
fi
« no previous file with comments | « no previous file | git_try.py » ('j') | git_try.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698