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

Issue 288123003: Make git_map properly update merge base markers. (Closed)

Created:
6 years, 7 months ago by iannucci
Modified:
6 years, 7 months ago
Reviewers:
agable
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Make git_map properly update merge base markers. R=agable@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=270572

Patch Set 1 #

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

Messages

Total messages: 7 (0 generated)
iannucci
6 years, 7 months ago (2014-05-15 03:12:11 UTC) #1
agable
lgtm
6 years, 7 months ago (2014-05-15 03:13:06 UTC) #2
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 7 months ago (2014-05-15 03:14:10 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/288123003/1
6 years, 7 months ago (2014-05-15 03:14:32 UTC) #4
commit-bot: I haz the power
Change committed as 270572
6 years, 7 months ago (2014-05-15 03:16:11 UTC) #5
nodir
This broke git-map Traceback (most recent call last): File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_map.py", line 112, in <module> sys.exit(main()) ...
6 years, 7 months ago (2014-05-16 19:00:53 UTC) #6
iannucci
6 years, 7 months ago (2014-05-16 19:02:24 UTC) #7
Message was sent while issue was closed.
On 2014/05/16 19:00:53, nodir wrote:
> This broke git-map
> 
> Traceback (most recent call last):
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_map.py", line
112,
> in <module>
>     sys.exit(main())
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_map.py", line
52,
> in main
>     merge_base_map = {b: get_or_create_merge_base(b) for b in all_branches}
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_map.py", line
52,
> in <dictcomp>
>     merge_base_map = {b: get_or_create_merge_base(b) for b in all_branches}
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_common.py", line
> 356, in get_or_create_merge_base
>     actual_merge_base = run('merge-base', parent, branch)
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_common.py", line
> 486, in run
>     return run_with_stderr(*cmd, **kwargs)[0]
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/git_common.py", line
> 518, in run_with_stderr
>     proc = subprocess2.Popen(cmd, **kwargs)
>   File "/usr/local/google/home/nodir/cr/infra/depot_tools/subprocess2.py",
line
> 202, in __init__
>     tmp_str = ' '.join(args)
> TypeError: sequence item 4: expected string, NoneType found
> 
> --
> 
> in get_or_create_merge_base base and parent variables are None. branch is not
> None.

Fix is here, but is waiting for review:
https://chromiumcodereview.appspot.com/288323002/

I can split out the fix to map if it takes a little while to get review.

Powered by Google App Engine
This is Rietveld 408576698