From c55295c327c9e9a3a8cf08a18b5b0855ae43a862 Mon Sep 17 00:00:00 2001 From: "tandrii@chromium.org" Date: Fri, 4 Mar 2016 15:54:59 +0000 Subject: [PATCH] temporary fix for repos that directly used DownloadHooks from git_cl.py. TBR=phajdan.jr@chromium.org,andybons@chromium.org BUG= Review URL: https://codereview.chromium.org/1768583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299106 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git_cl.py b/git_cl.py index 1ded4aaf2a..fe03778ba8 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):