• primiano@chromium.org's avatar
    Reland: Add --no-history option to fetch and gclient for shallow clones. · 5439ea59
    primiano@chromium.org authored
    Original CL: https://codereview.chromium.org/440263002/
    
    Many people* have complained on chromium-dev about the long times
    required to perform a full fetch over a DSL. This seems to be mostly
    due to the huge size of chromium's history (~9 GB). On the other side,
    not everybody is interested in downloading the full git history of
    the projects. The size of git packs required to fetch a working HEAD
    is one order of magnitude smaller (1.5 GB).
    This change makes it possible to perform a shallow fetch (in a way
    which is consistent with DEPS, leveraging git templates on clone),
    reducing fetch times by 80% for those not interested in the history.
    
    * See:
    [chromium-dev] "fetch chromium" keeps hanging/getting stuck on Windows 7
    [chromium-dev] Initial checkout with git taking long
    [chromium-dev] Trying to get latest source code fails when fetching
    [chromium-dev] Gclient sync takes too long
    
    BUG=228996
    TBR=iannucci@chromium.org,szager@chromium.org,wtc@chromium.org
    
    Review URL: https://codereview.chromium.org/440273002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@287793 0039d316-1c4b-4281-b951-d872f2087c98
    5439ea59
Name
Last commit
Last update
..
gstools Loading commit data...
subversion_config Loading commit data...
abandon.sh Loading commit data...
basic.sh Loading commit data...
breakpad_unittest.py Loading commit data...
checkout_test.py Loading commit data...
download_from_google_storage_unittests.py Loading commit data...
fix_encoding_test.py Loading commit data...
gcl_unittest.py Loading commit data...
gclient_scm_test.py Loading commit data...
gclient_smoketest.py Loading commit data...
gclient_test.py Loading commit data...
gclient_utils_test.py Loading commit data...
git_cl_test.py Loading commit data...
git_common_test.py Loading commit data...
git_number_test.py Loading commit data...
git_rebase_update_test.py Loading commit data...
hooks.sh Loading commit data...
owners.sh Loading commit data...
owners_finder_test.py Loading commit data...
owners_unittest.py Loading commit data...
patch.sh Loading commit data...
patch_test.py Loading commit data...
post-dcommit-hook-test.sh Loading commit data...
presubmit_unittest.py Loading commit data...
push-basic.sh Loading commit data...
push-from-logs.sh Loading commit data...
rename.sh Loading commit data...
rietveld_test.py Loading commit data...
sample_pre_commit_hook Loading commit data...
save-description-on-failure.sh Loading commit data...
scm_unittest.py Loading commit data...
submit-from-new-dir.sh Loading commit data...
submodule-merge-test.sh Loading commit data...
subprocess2_test.py Loading commit data...
test-lib.sh Loading commit data...
trychange_unittest.py Loading commit data...
upload-local-tracking-branch.sh Loading commit data...
upload-stale.sh Loading commit data...
upload_to_google_storage_unittests.py Loading commit data...
upstream.sh Loading commit data...
watchlists_unittest.py Loading commit data...