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

Issue 2200193003: Update top_dir with git repo root just when cwd locate in a git repo. (Closed)

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

Description

Update top_dir with git repo root just when cwd locate in a git repo. if when execute command "git rev-parse --show-toplevel" in a directory that is not a subdirectory of a git repo, CheckCallAndFilter will not throw exception, so the top_dir may be updated with a invalid path. BUG=633971 Signed-off-by: hanpfei <hanpfei@gmail.com>; Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/13f9c37185750d4212a125204d22302376c77f8e

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M gclient_utils.py View 1 chunk +3 lines, -1 line 3 comments Download

Messages

Total messages: 24 (9 generated)
hanpfei
4 years, 4 months ago (2016-08-03 13:02:32 UTC) #3
hanpfei
4 years, 4 months ago (2016-08-03 13:03:10 UTC) #4
gab
Why 3 reviewers for one file? Only one of which is OWNERS here AFAICT..? I'm ...
4 years, 4 months ago (2016-08-03 13:37:43 UTC) #6
hanpfei
4 years, 4 months ago (2016-08-03 14:06:16 UTC) #8
agable
LGTM because this does in fact fix an error, but I would argue strongly that ...
4 years, 4 months ago (2016-08-03 16:39:50 UTC) #9
hanpfei
On 2016/08/03 16:39:50, agable wrote: > LGTM because this does in fact fix an error, ...
4 years, 4 months ago (2016-08-04 01:30:15 UTC) #11
hanpfei
https://codereview.chromium.org/2200193003/diff/1/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/2200193003/diff/1/gclient_utils.py#newcode669 gclient_utils.py:669: if not gclient_root: On 2016/08/03 16:39:50, agable wrote: > ...
4 years, 4 months ago (2016-08-04 01:35:57 UTC) #12
Elliot Glaysher
Removing self.
4 years, 4 months ago (2016-08-04 17:07:30 UTC) #13
jochen (gone - plz use gerrit)
Hey, we don't have a contributor license agreement from you, so we can't just yet ...
4 years, 4 months ago (2016-08-05 11:39:28 UTC) #14
hanpfei
On 2016/08/05 11:39:28, jochen (OOO until Aug 22) wrote: > Hey, > > we don't ...
4 years, 4 months ago (2016-08-05 13:42:31 UTC) #15
jochen (gone - plz use gerrit)
On 2016/08/05 at 13:42:31, hanpfei wrote: > On 2016/08/05 11:39:28, jochen (OOO until Aug 22) ...
4 years, 4 months ago (2016-08-05 13:43:46 UTC) #16
hanpfei
On 2016/08/05 13:43:46, jochen (OOO until Aug 22) wrote: > On 2016/08/05 at 13:42:31, hanpfei ...
4 years, 4 months ago (2016-08-05 23:47:31 UTC) #17
agable
On 2016/08/05 at 23:47:31, hanpfei wrote: > On 2016/08/05 13:43:46, jochen (OOO until Aug 22) ...
4 years, 4 months ago (2016-08-09 01:16:24 UTC) #18
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/2200193003/1
4 years, 4 months ago (2016-08-09 05:02:42 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 05:06:04 UTC) #24
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/13f9c37185750d...

Powered by Google App Engine
This is Rietveld 408576698