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

Issue 224703002: Use get_or_create_merge_base in git-cl-upload to correctly deal with rebased (Closed)

Created:
6 years, 8 months ago by iannucci
Modified:
6 years, 8 months ago
Reviewers:
agable, szager1
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Use get_or_create_merge_base in git-cl-upload to correctly deal with rebased upstreams. In the event that users are NOT using the enhanced tooling, this is equivalent to `git merge-base "@{u}" HEAD`. In the event that they are, this will catch the case where their parent branch got rebased, but this branch hasn't been rebased on the parent yet. R=agable@chromium.org, szager@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=261601

Patch Set 1 #

Patch Set 2 : fix tests' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M git_cl.py View 1 3 chunks +5 lines, -3 lines 0 comments Download
M tests/git_cl_test.py View 1 5 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
iannucci
6 years, 8 months ago (2014-04-03 22:49:39 UTC) #1
agable
lgtm
6 years, 8 months ago (2014-04-03 22:52:24 UTC) #2
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-03 22:52:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/224703002/1
6 years, 8 months ago (2014-04-03 22:53:03 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 22:54:43 UTC) #5
commit-bot: I haz the power
Presubmit check for 224703002-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 8 months ago (2014-04-03 22:54:44 UTC) #6
iannucci
mox strikes again :(
6 years, 8 months ago (2014-04-03 22:55:49 UTC) #7
agable
On 2014/04/03 22:55:49, iannucci wrote: > mox strikes again :( why did HEADs turn into ...
6 years, 8 months ago (2014-04-04 00:21:15 UTC) #8
iannucci
fixed the tests by mocking git_common.get_or_create_merge_base. I think this is justified since get_or_create_merge_base has its ...
6 years, 8 months ago (2014-04-04 00:21:50 UTC) #9
iannucci
On 2014/04/04 00:21:15, agable wrote: > On 2014/04/03 22:55:49, iannucci wrote: > > mox strikes ...
6 years, 8 months ago (2014-04-04 00:24:08 UTC) #10
agable
lgtm
6 years, 8 months ago (2014-04-04 00:26:41 UTC) #11
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 8 months ago (2014-04-04 00:30:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/224703002/20001
6 years, 8 months ago (2014-04-04 00:30:09 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 00:32:00 UTC) #14
Message was sent while issue was closed.
Change committed as 261601

Powered by Google App Engine
This is Rietveld 408576698