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

Unified Diff: gclient.py

Issue 362008: gclient: Make revinfo work on git. (Closed)
Patch Set: Created 11 years, 1 month 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 | gclient_scm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index deedf17d8c5696f2b7134b853821f80b28f57dfe..4cc6d45e8b3f8c4ba28c4a6feaf4c8e71baa8576 100755
--- a/gclient.py
+++ b/gclient.py
@@ -814,8 +814,8 @@ class GClient(object):
return (original_url, revision_overrides[name])
else:
# TODO(aharper): SVN/SCMWrapper cleanup (non-local commandset)
M-A Ruel 2009/11/05 19:33:35 shouldn't the TODO be removed?
- return (original_url,
- gclient_scm.CaptureSVNHeadRevision(original_url))
+ scm = gclient_scm.CreateSCM(solution["url"], self._root_dir, name)
+ return (original_url, scm.revinfo(self._options, [], None))
else:
url_components = original_url.split("@")
if revision_overrides.has_key(name):
« no previous file with comments | « no previous file | gclient_scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698