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

Issue 1895463002: Mark outdated branches on 'cl status' (Closed)

Created:
4 years, 8 months ago by Clemens Hammacher
Modified:
4 years, 7 months ago
Reviewers:
tandrii(chromium)
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org, tandrii+omg_git_cl_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@show-outdated-cls
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Mark outdated branches on 'cl status' 'cl status' now compares the uploaded patch against the patch computed locally. If they differ (ignoring precise line numbers), then the respective branch is marked 'outdated'.

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Total comments: 1

Patch Set 4 : rebase #

Patch Set 5 : also mark outdated branches in git map-branches -vvv #

Patch Set 6 : fix for NO_UPSTREAM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -19 lines) Patch
M git_cl.py View 1 2 3 4 3 chunks +74 lines, -16 lines 0 comments Download
M git_map_branches.py View 1 2 3 4 5 2 chunks +9 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 6 (3 generated)
Clemens Hammacher
4 years, 8 months ago (2016-04-15 14:22:41 UTC) #2
tandrii(chromium)
first, thanks for creating CLs. However, without test, I will not accept this. Furthermore, it ...
4 years, 8 months ago (2016-04-15 15:15:13 UTC) #3
Clemens Hammacher
4 years, 8 months ago (2016-04-15 15:19:26 UTC) #4
On 2016/04/15 at 15:15:13, tandrii wrote:
> first, thanks for creating CLs.
> 
> However, without test, I will not accept this.
> Furthermore, it looks to me as you've used Rietveld-specific thing, which
belongs to _RietveldCodereviewImpl class. And if you are adding it, add the the
same for _Gerrit.
> 
> With Gerrit, things should actually be much simpler: all you have to do is
fetch the ref with the patch and run "git diff <patch_ref> <local_branch>.
> 
> For Rietveld, for the sake of simplicity, maybe do the same? There is also
command to apply Rietveld patch locally, so maybe you can create a new temporary
branch, apply patch on it, and compute the diff?
> 
> https://codereview.chromium.org/1895463002/diff/40001/git_cl.py
> File git_cl.py (right):
> 
> https://codereview.chromium.org/1895463002/diff/40001/git_cl.py#newcode2930
> git_cl.py:2930: information or commit hashes.
> nit: add empty line.

I don't know enough about Gerrit to implement this. If you think that that's
necessary, you will have to implement it.
Sorry, I can't put more effort into that.

Powered by Google App Engine
This is Rietveld 408576698