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

Issue 2153803002: map-branches: Fix crash with --show-subject when branch name matches files (Closed)

Created:
4 years, 5 months ago by anatoly techtonik
Modified:
4 years, 5 months ago
Reviewers:
agable, dpranke, iannucci
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

map-branches: Fix crash with --show-subject when branch name matches files Traceback (most recent call last): ... File "...\\git_map_branches.py", line 303, in main mapper.start() File "...\\git_map_branches.py", line 169, in start self.__append_branch(root) File "...\\git_map_branches.py", line 272, in __append_branch self.__append_branch(child, depth=depth + 1) File "...\\git_map_branches.py", line 267, in __append_branch line.append(run('log', '-n1', '--format=%s', branch)) File "...\git_common.py", line 599, in run return run_with_stderr(*cmd, **kwargs)[0] File "...\git_common.py", line 668, in run_with_stderr raise subprocess2.CalledProcessError(retcode, cmd, os.getcwd(), ret, err) subprocess2.CalledProcessError: Command '...\\git.bat -c color.ui=never log -n1 --format=%s readme' returned non-zero exit status 128 in ... fatal: ambiguous argument 'readme': both revision and filename Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' BUG= Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/2e24812dd3b5af712851e5ebd79ee65a1ab120e5

Patch Set 1 #

Patch Set 2 : map-branches: Fix crash with --show-subject when branch name matches files #

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

Messages

Total messages: 9 (4 generated)
anatoly techtonik
Please take a look.
4 years, 5 months ago (2016-07-15 13:57:41 UTC) #3
iannucci
lgtm
4 years, 5 months ago (2016-07-19 01:33:31 UTC) #4
agable
lgtm
4 years, 5 months ago (2016-07-19 17:36:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2153803002/20001
4 years, 5 months ago (2016-07-19 17:36:08 UTC) #7
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 17:39:46 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/2e24812dd3b5af...

Powered by Google App Engine
This is Rietveld 408576698