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

Issue 12646011: Warn when git cl upload might be overwriting a newer patchset. (Closed)

Created:
7 years, 9 months ago by koz (OOO until 15th September)
Modified:
7 years, 8 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, jeremya
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Warn when git cl upload might be overwriting a newer patchset. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=191895

Patch Set 1 #

Total comments: 2

Patch Set 2 : respond to comments #

Total comments: 4

Patch Set 3 : change < to != #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M git_cl.py View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
koz (OOO until 15th September)
jeremya@ and I thought this might be useful for people working on multiple machines.
7 years, 9 months ago (2013-03-15 03:37:07 UTC) #1
M-A Ruel
Like the idea. https://codereview.chromium.org/12646011/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12646011/diff/1/git_cl.py#newcode1292 git_cl.py:1292: print 'The last upload made from ...
7 years, 9 months ago (2013-03-18 18:15:41 UTC) #2
koz (OOO until 15th September)
https://codereview.chromium.org/12646011/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12646011/diff/1/git_cl.py#newcode1292 git_cl.py:1292: print 'The last upload made from this repository was ...
7 years, 9 months ago (2013-03-18 23:23:55 UTC) #3
M-A Ruel
https://codereview.chromium.org/12646011/diff/5001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12646011/diff/5001/git_cl.py#newcode1291 git_cl.py:1291: if local_patchset < latest_patchset: The problem here is that ...
7 years, 9 months ago (2013-03-19 01:26:45 UTC) #4
koz (OOO until 15th September)
https://codereview.chromium.org/12646011/diff/5001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12646011/diff/5001/git_cl.py#newcode1291 git_cl.py:1291: if local_patchset < latest_patchset: On 2013/03/19 01:26:45, Marc-Antoine Ruel ...
7 years, 9 months ago (2013-03-19 01:29:16 UTC) #5
M-A Ruel
https://codereview.chromium.org/12646011/diff/5001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12646011/diff/5001/git_cl.py#newcode1291 git_cl.py:1291: if local_patchset < latest_patchset: On 2013/03/19 01:29:16, koz wrote: ...
7 years, 8 months ago (2013-04-02 20:08:54 UTC) #6
koz (OOO until 15th September)
https://codereview.chromium.org/12646011/diff/5001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/12646011/diff/5001/git_cl.py#newcode1291 git_cl.py:1291: if local_patchset < latest_patchset: On 2013/04/02 20:08:54, Marc-Antoine Ruel ...
7 years, 8 months ago (2013-04-02 20:40:04 UTC) #7
M-A Ruel
lgtm
7 years, 8 months ago (2013-04-02 20:41:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/12646011/12001
7 years, 8 months ago (2013-04-02 20:48:14 UTC) #9
commit-bot: I haz the power
Change committed as 191895
7 years, 8 months ago (2013-04-02 20:50:41 UTC) #10
falken
On 2013/04/02 20:50:41, I haz the power (commit-bot) wrote: > Change committed as 191895 I ...
7 years, 8 months ago (2013-04-03 09:29:07 UTC) #11
koz (OOO until 15th September)
7 years, 8 months ago (2013-04-03 15:09:36 UTC) #12
Message was sent while issue was closed.
On 2013/04/03 09:29:07, falken wrote:
> On 2013/04/02 20:50:41, I haz the power (commit-bot) wrote:
> > Change committed as 191895
> 
> I got an error when trying to run git-cl upload:
> 
> Traceback (most recent call last):
>  File "/work/depot_tools/git_cl.py", line 1910, in <module>
>    sys.exit(main(sys.argv[1:]))
>  File "/work/depot_tools/git_cl.py", line 1895, in main
>    return command(parser, argv[1:])
>  File "/work/depot_tools/git_cl.py", line 1299, in CMDupload
>    % (local_patchset, latest_patchset))
> TypeError: %d format: a number is required, not NoneType
> 
> It turned out that local_patchset was None. I was working on a new branch on
the
> same Rietveld issue as an older branch.

Yes, sorry about that. This has been fixed by dmikurube@ in r192050.

Powered by Google App Engine
This is Rietveld 408576698