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

Unified Diff: git_cl/git-cl

Issue 6758001: Move git_cl back into depot_tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Add stub to not break incremental update Created 9 years, 9 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 | « git_cl/__init__.py ('k') | git_cl/test/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl/git-cl
diff --git a/git_cl/git-cl b/git_cl/git-cl
index 449c6e0296d44f82d0289b43536ffd92679da361..25ca6427e356db550ba4298c719305e19b544926 100755
--- a/git_cl/git-cl
+++ b/git_cl/git-cl
@@ -1,10 +1,8 @@
-#!/usr/bin/python
-# git-cl -- a git-command for integrating reviews on Rietveld
-# Copyright (C) 2008 Evan Martin <martine@danga.com>
+#!/bin/sh
+# Copyright (c) 2011 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.
-import sys
+base_dir=$(dirname "$0")
-import git_cl
-
-if __name__ == '__main__':
- sys.exit(git_cl.main(sys.argv[1:]))
+"$base_dir"/../git_cl.py "$@"
« no previous file with comments | « git_cl/__init__.py ('k') | git_cl/test/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698