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

Unified Diff: git_cl_hooks.py

Issue 2832006: Fix git cl code to get the changelist description without using gcl.... (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: '' Created 10 years, 6 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_hooks.py
===================================================================
--- git_cl_hooks.py (revision 49745)
+++ git_cl_hooks.py (working copy)
@@ -9,7 +9,6 @@
import breakpad
-import gcl
import presubmit_support
import scm
import watchlists
@@ -51,7 +50,7 @@
issue = BackquoteAsInteger(['git', 'cl', 'status', '--field=id'])
patchset = BackquoteAsInteger(['git', 'cl', 'status', '--field=patch'])
if issue:
- description = gcl.GetIssueDescription(issue)
+ description = Backquote(['git', 'cl', 'status', '--field=desc'])
else:
description = m.group(2)
self.change = presubmit_support.GitChange(name, description, absroot, files,
« 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