When you initally fetch chromium and gclient sync, does the history for these third party repos in DEPS get stored?
Ive run gclient sync with -verbose option to get a closer look, and it looks like its accessing internet for each checkout, even when the revision has not changed. It looks like this fetch is coming from _fetch function within git-cache.py in depot_tools. Is this access for bringing in the appropriate revision or something else?
(I also ran with --nohooks if that helps)
When I comment out the _fetch function, it looks like its still retrieving the appropriate revisions, but using information locally instead of going to the remote repo.
Ex: From
https://chromium.googlesource.com/chromium/buildtools vs. From /home/user/chromium/src/testdir/chromium.googlesource.com-chromium-buildtools
with _fetch
________ running 'git -c core.deltaBaseCacheLimit=2g fetch origin --verbose' in '/home/user/chromium/src/buildtools'
[0:00:00] From
https://chromium.googlesource.com/chromium/buildtools[0:00:00] = [up to date] master -> origin/master
[0:00:00] Up-to-date; skipping checkout.
Checked out revision 39b1db2ab4aa4b2ccaa263c29bdf63e7c1ee28aa
[0:00:00] Finished.
without _fetch
________ running 'git -c core.deltaBaseCacheLimit=2g fetch origin --verbose' in '/home/user/chromium/src/src/buildtools'
[0:00:09] From /home/user/chromium/src/testdir/chromium.googlesource.com-chromium-buildtools
[0:00:09] = [up to date] master -> origin/master
[0:00:09] Up-to-date; skipping checkout.
Checked out revision adb8bf4e8fc92aa1717bf151b862d58e6f27c4f2
[0:00:09] Finished.
Let me know if you need more clarification. Thanks alot