gclient sync --nohooks
Running depot tools as root is sad.
Syncing projects: 6% (17/252) src/third_party
src/third_party (ERROR)
----------------------------------------
[0:00:04] Started.
[0:00:05] Finished running: git config remote.origin.url
[0:00:05] Finished running: git rev-list -n 1 HEAD
[0:00:05] Finished running: git rev-parse --abbrev-ref=strict HEAD
----------------------------------------
Error: 7>
7> ____ src/third_party at ddfda490302ff0f31a4de48e7b862452220a62e2
7> You have unstaged changes.
7> Please commit, stash, or reset.
发现
cat .gclient
solutions = [
{
"name": "src",
"url": "https://webrtc.googlesource.com/src.git",
"deps_file": "DEPS",
"managed": False,
"custom_deps": {},
},
]
target_os = ["android", "unix"]
修改unix为linux,重新gclient sync --nohooks,成功