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

Issue 221423004: Revert of Revert "gclient: Change the .gclient URL mismatch warning into an error." (Closed)

Created:
6 years, 8 months ago by borenet
Modified:
6 years, 8 months ago
Reviewers:
v.putkinen, iannucci, smut
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Revert of Revert "gclient: Change the .gclient URL mismatch warning into an error." (https://codereview.chromium.org/213483003/) Reason for revert: Re-landing this after https://codereview.chromium.org/214813002/ Original issue's description: > Revert "gclient: Change the .gclient URL mismatch warning into an error." > > This reverts commit c01bff751856165467bd67abb3757a701deaa375. > > BUG=356881 > TBR=iannucci > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259727 TBR=iannucci@chromium.org,smut@google.com NOTREECHECKS=true NOTRY=true BUG=356881 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=261158

Patch Set 1 #

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

Messages

Total messages: 10 (0 generated)
borenet
Created Revert of Revert "gclient: Change the .gclient URL mismatch warning into an error."
6 years, 8 months ago (2014-04-01 20:37:13 UTC) #1
borenet
The CQ bit was unchecked by borenet@google.com
6 years, 8 months ago (2014-04-01 20:37:17 UTC) #2
smut
I think the warning has stopped appearing on our bots using, so lgtm (but I'm ...
6 years, 8 months ago (2014-04-01 20:58:30 UTC) #3
iannucci
take 2: lgtm
6 years, 8 months ago (2014-04-02 17:34:47 UTC) #4
borenet
The CQ bit was checked by borenet@google.com
6 years, 8 months ago (2014-04-02 19:10:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/borenet@google.com/221423004/1
6 years, 8 months ago (2014-04-02 19:10:23 UTC) #6
commit-bot: I haz the power
Change committed as 261158
6 years, 8 months ago (2014-04-02 19:12:14 UTC) #7
v.putkinen
This change breaks the cache_dir mechanism of gclient. If cache_dir is used in .gclient, the ...
6 years, 8 months ago (2014-04-08 09:26:50 UTC) #8
borenet
On 2014/04/08 09:26:50, v.putkinen wrote: > This change breaks the cache_dir mechanism of gclient. If ...
6 years, 8 months ago (2014-04-08 15:30:25 UTC) #9
borenet
6 years, 8 months ago (2014-04-08 20:03:32 UTC) #10
Message was sent while issue was closed.
On 2014/04/08 15:30:25, borenet wrote:
> On 2014/04/08 09:26:50, v.putkinen wrote:
> > This change breaks the cache_dir mechanism of gclient. If cache_dir is used
in
> > .gclient, the URLs will always mismatch since the checkout's remote URL
points
> > to cache_dir. There probably should be a special case for cache_dir in
> > GClient._CheckConfig. 
> > 
> > Or perhaps SCMWrapper.GetActualRemoteURL should be aware of cache_dir and
> return
> > the actual URL. For example, it could follow .git/objects/info/alternates
and
> > return the remote URL from there.
> > 
> > Btw, is this a proper place for this discussion? If not, please redirect me
to
> > the correct place. :)
> 
> I filed https://code.google.com/p/chromium/issues/detail?id=361155 and
uploaded
> https://codereview.chromium.org/228793002 to implement your second suggestion.

I think this is fixed now, can you verify?

Powered by Google App Engine
This is Rietveld 408576698