Commit 7c34a225 authored by Edward Lesmes's avatar Edward Lesmes Committed by LUCI CQ

git-cl: Fix Change object construction for git-cl split

Changelist.GetChange signature was changed in
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2038050

Bug: 1042324, 1054880
Change-Id: I6ba63e7f2f6c13bd8e8bef4e76cd66ee0525bba2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2067623Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent 4dc5b779
...@@ -340,7 +340,7 @@ def SplitCl(description_file, comment_file, changelist, cmd_upload, dry_run, ...@@ -340,7 +340,7 @@ def SplitCl(description_file, comment_file, changelist, cmd_upload, dry_run,
EnsureInGitRepository() EnsureInGitRepository()
cl = changelist() cl = changelist()
change = cl.GetChange(cl.GetCommonAncestorWithUpstream(), None) change = cl.GetChange(cl.GetCommonAncestorWithUpstream())
files = change.AffectedFiles() files = change.AffectedFiles()
if not files: if not files:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment