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

Unified Diff: git_cl.py

Issue 1768583002: temporary fix for repos that directly used DownloadHooks from git_cl.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 62b542c6be32ccadf020cebc33b910189b7b40b7..ddca91bae96aeb04c93308b46641d4189fe2bacb 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1604,6 +1604,9 @@ def DownloadGerritHook(force):
'into .git/hooks/commit-msg and '
'chmod +x .git/hooks/commit-msg' % src)
+# TODO(tandrii): remove this once repos which call this method directly are
+# upgraded.
+DownloadHooks = DownloadGerritHook
@subcommand.usage('[repo root containing codereview.settings]')
def CMDconfig(parser, args):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698