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

Issue 2102004: Fix SCM.ReadRootFile when self.gclient_root is not yet defined (Closed)

Created:
10 years, 7 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

Fix SCM.ReadRootFile when self.gclient_root is not yet defined Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47426

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

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

Messages

Total messages: 8 (0 generated)
davidjames
Hi Marc-Antoine, This patch fixes an issue where gcl try crashes when self.gclient_root is not ...
10 years, 7 months ago (2010-05-14 20:26:06 UTC) #1
M-A Ruel
http://codereview.chromium.org/2102004/diff/1/2 File trychange.py (right): http://codereview.chromium.org/2102004/diff/1/2#newcode162 trychange.py:162: if not self.gclient_root: If gclient_root is not set, it's ...
10 years, 7 months ago (2010-05-14 21:46:52 UTC) #2
M-A Ruel
May I ask why you were using --root? You have a sparse checkout? http://codereview.chromium.org/2102004/diff/1/2 File ...
10 years, 7 months ago (2010-05-14 21:50:25 UTC) #3
davidjames
I'm using --root because the patch doesn't apply to the root of the repository -- ...
10 years, 7 months ago (2010-05-15 00:38:58 UTC) #4
davidjames
http://codereview.chromium.org/2102004/diff/1/2 File trychange.py (right): http://codereview.chromium.org/2102004/diff/1/2#newcode162 trychange.py:162: if not self.gclient_root: On 2010/05/15 00:38:58, davidjames wrote: > ...
10 years, 7 months ago (2010-05-15 00:46:38 UTC) #5
M-A Ruel
http://codereview.chromium.org/2102004/diff/10001/11001 File trychange.py (right): http://codereview.chromium.org/2102004/diff/10001/11001#newcode165 trychange.py:165: root = gclient_utils.FindGclientRoot(cur) As I wrote earlier, I still ...
10 years, 7 months ago (2010-05-15 00:53:13 UTC) #6
M-A Ruel
On 2010/05/15 00:46:38, davidjames wrote: > Oops. Actually, self.checkout_root doesn't work, because it doesn't contain ...
10 years, 7 months ago (2010-05-15 00:54:45 UTC) #7
davidjames
10 years, 7 months ago (2010-05-17 17:20:37 UTC) #8
On 2010/05/15 00:54:45, Marc-Antoine Ruel wrote:
> On 2010/05/15 00:46:38, davidjames wrote:
> > Oops. Actually, self.checkout_root doesn't work, because it doesn't contain
my
> > gclient.settings. We need to do the search. In patch version #3, I updated
it
> to
> > actually search for the gclient root, but not to update self.gclient_root
> 
> ok
> 
> lgtm

Great! Can you commit? I don't have commit access to Chromium yet (only Chrome
OS).

Cheers,

David

Powered by Google App Engine
This is Rietveld 408576698