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

Unified Diff: gclient_utils.py

Issue 2867047: Bring some OOP and sanity to gclient.py. (Closed)
Patch Set: Reuse old code Created 10 years, 5 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.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index 54910ce45a2cfd482955e1cad31c70ec6a846d18..5fd2ef27a7f9fc7da14ca6683792d233574c482c 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -310,14 +310,6 @@ def SubprocessCallAndFilter(command,
raise Error(msg)
-def IsUsingGit(root, paths):
- """Returns True if we're using git to manage any of our checkouts.
- |entries| is a list of paths to check."""
- for path in paths:
- if os.path.exists(os.path.join(root, path, '.git')):
- return True
- return False
-
def FindGclientRoot(from_dir, filename='.gclient'):
"""Tries to find the gclient root."""
path = os.path.realpath(from_dir)
« no previous file with comments | « gclient.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698