gclient sync issues on Windows (fails to update depot_tools)

675 views
Skip to first unread message

Peter Boström

unread,
Oct 25, 2019, 3:34:11 PM10/25/19
to Chromium-dev
Hi folks,

Three people on our team so far who are on Windows have run into problems when running gclient sync this week that end with something like:

error: The following untracked working tree files would be overwritten by checkout:
pylint.bat
Please move or remove them before you switch branches.
Aborting
fatal: Could not detach HEAD
Failed to update depot_tools.
Syncing projects: 100% ( 1/ 1) src

src (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00] ________ unmanaged solution; skipping src
----------------------------------------
Traceback (most recent call last):
...
File "C:\src\depot_tools\gclient_eval.py", line 588, in _convert
condition))
ValueError: invalid "and": exactly 2 operands required (inside 'host_os == "linux" and checkout_fuchsia and checkout_fuchsia_for_arm64_host')

The way that we've been able to resolve it is by going into depot_tools and running git pull. Once this is done gclient sync seems able to finish.

I haven't root-caused why depot_tools seems unable to update during gclient sync here, nor if there are KIs, this was just how we were able to work around it.

Hopefully this rings bells for someone who'd know what's going on.

Best,
Peter

Edward Lemur

unread,
Oct 25, 2019, 3:59:28 PM10/25/19
to pb...@chromium.org, Chromium-dev
pylint.bat used to be generated and was also listed in .gitignore

So trying to check out a later revision would cause git to warn about untracked files that would be overwritten.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAGFX3sE_OHH8cP_1zRJcdXKAz7dhiOkF3SNoKY18WQSUGrqUKg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages