From a26e04734be1d6193c74ad14b536971e881023ef Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Wed, 24 Jul 2013 10:25:01 +0000 Subject: [PATCH] Correctly pass the issue number as "issue" parameter to Changelist ctor Instead of as branchref. Because it's an issue. Not a branchref. Also, add myself as owner. BUG=none R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/19997004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213387 0039d316-1c4b-4281-b951-d872f2087c98 --- OWNERS | 1 + git_cl.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OWNERS b/OWNERS index c18342434..5597b8cd5 100644 --- a/OWNERS +++ b/OWNERS @@ -3,6 +3,7 @@ bradnelson@google.com cmp@chromium.org dpranke@chromium.org iannucci@chromium.org +jochen@chromium.org maruel@chromium.org maruel@google.com petermayo@chromium.org diff --git a/git_cl.py b/git_cl.py index 15d19c0f1..60c41f4a8 100755 --- a/git_cl.py +++ b/git_cl.py @@ -1795,7 +1795,7 @@ def CMDpatch(parser, args): if issue_arg.isdigit(): # Input is an issue id. Figure out the URL. issue = int(issue_arg) - cl = Changelist(issue) + cl = Changelist(issue=issue) patchset = cl.GetMostRecentPatchset() patch_data = cl.GetPatchSetDiff(issue, patchset) else: