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

Unified Diff: revert

Issue 125249: It seems it helps on certain cygwin setup. (Closed)
Patch Set: Created 11 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 | « gclient ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: revert
diff --git a/revert b/revert
index c02bd02f96e4d4e490d37ba1784aa60681162468..b66a9db4bfb1d59f80ebf613ee5a3bbe33fff6fe 100755
--- a/revert
+++ b/revert
@@ -1,5 +1,14 @@
#!/bin/sh
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
base_dir=$(dirname "$0")
+# Use the batch file as an entry point if on cygwin.
+if [ "${OSTYPE}" = "cygwin" -a "${TERM}" = "cygwin" ]; then
+ ${base_dir}/revert.bat "$@"
+ exit
+fi
+
exec python "$base_dir/revert.py" "$@"
« no previous file with comments | « gclient ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698