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

Issue 496073002: Add support for landing to pending ref. (Closed)

Created:
6 years, 4 months ago by Vadim Sh.
Modified:
6 years, 3 months ago
Reviewers:
iannucci
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Project:
tools
Visibility:
Public.

Description

Teach 'git cl land' to land to pending ref. R=iannucci@chromium.org BUG=404214 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291302

Patch Set 1 #

Total comments: 17

Patch Set 2 : reply to comments, fix test #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -27 lines) Patch
M git_cl.py View 1 2 15 chunks +107 lines, -25 lines 0 comments Download
M tests/git_cl_test.py View 1 4 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Vadim Sh.
WIP, haven't tested (or even ran). Is that what you had in mind? https://codereview.chromium.org/496073002/diff/1/git_cl.py File ...
6 years, 4 months ago (2014-08-21 19:31:23 UTC) #1
iannucci
lgtm, let's try it on the sandbox https://chromiumcodereview.appspot.com/496073002/diff/1/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/496073002/diff/1/git_cl.py#newcode460 git_cl.py:460: self.pending_ref_prefix = ...
6 years, 4 months ago (2014-08-21 20:32:20 UTC) #2
iannucci
https://chromiumcodereview.appspot.com/496073002/diff/1/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/496073002/diff/1/git_cl.py#newcode2107 git_cl.py:2107: RunGitWithCode(['checkout', 'refs/git-cl/pending']) let's make this refs/git-cl/pending/heads/master refs/git-cl/pending/branch-heads/12345 etc.
6 years, 4 months ago (2014-08-21 20:37:04 UTC) #3
iannucci
You'll want to do: fetchspec = '+refs/pending/heads/master:refs/git-cl/pending/heads/master' if fetchspec not in`git config --get-all remote.origin.fetch`.splitlines(): `git ...
6 years, 4 months ago (2014-08-21 20:39:04 UTC) #4
Vadim Sh.
will add fetchspec in next CL bare minimum for now https://codereview.chromium.org/496073002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/496073002/diff/1/git_cl.py#newcode460 ...
6 years, 4 months ago (2014-08-21 21:14:35 UTC) #5
Vadim Sh.
Verified it works, added nicer messages. Committing.
6 years, 4 months ago (2014-08-22 01:04:24 UTC) #6
Vadim Sh.
The CQ bit was checked by vadimsh@chromium.org
6 years, 4 months ago (2014-08-22 01:04:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimsh@chromium.org/496073002/30001
6 years, 4 months ago (2014-08-22 01:05:17 UTC) #8
Vadim Sh.
The CQ bit was unchecked by vadimsh@chromium.org
6 years, 4 months ago (2014-08-22 01:22:30 UTC) #9
Vadim Sh.
Committed patchset #3 manually as 291302.
6 years, 4 months ago (2014-08-22 01:34:19 UTC) #10
commit-bot: I haz the power
Presubmit check for 496073002-30001 failed and returned exit status -2001. The presubmit check was hung. ...
6 years, 3 months ago (2014-08-29 19:32:18 UTC) #11
Vadim Sh.
6 years, 3 months ago (2014-09-02 18:27:48 UTC) #12
Message was sent while issue was closed.
On 2014/08/29 19:32:18, I haz the power (commit-bot) wrote:
> Presubmit check for 496073002-30001 failed and returned exit status -2001.
> The presubmit check was hung. It took 671204.6 seconds to execute and the time
> limit is 900.0 seconds.
> 
> Running presubmit commit checks ...

wat?

Powered by Google App Engine
This is Rietveld 408576698