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

Issue 7104007: Make sure paths that look like http://git_server/repo.git@SHA get checked out (Closed)

Created:
9 years, 6 months ago by Nicolas Sylvain
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Dirk Pranke, M-A Ruel
Visibility:
Public.

Description

Make sure paths that look like http://git_server/repo.git@SHA get checked out correctly. The current behavior was to call git clone with --no-checkout, which did not create a working copy, and made the checkout unusable by the users. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87491

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
Nicolas Sylvain
9 years, 6 months ago (2011-05-31 22:06:56 UTC) #1
nsylvain
(fixing reviewers)
9 years, 6 months ago (2011-05-31 22:07:52 UTC) #2
cmp
9 years, 6 months ago (2011-05-31 22:22:08 UTC) #3
lgtm

http://codereview.chromium.org/7104007/diff/1/gclient_scm.py
File gclient_scm.py (left):

http://codereview.chromium.org/7104007/diff/1/gclient_scm.py#oldcode491
gclient_scm.py:491: clone_cmd.append('--no-checkout')
This would have made a working copy with no usable files in it, since only a
.git directory would be present only the history/logs would be available to
other git commands and no actual files in the checkout would be available for
use.  I verified by running a clone -n of manifest.git.

Removing the flag is correct since we need to use those checkouts now.

Powered by Google App Engine
This is Rietveld 408576698