Fix gclient crash with unicode strings in .gclient files.
Older .gclient files might have explicit u'' strings in their specs; as part of upgrading code to Python3 compatibility, we apparently recently introduced a bug in the handling of this that might cause them to fail on Windows. This CL fixes that issue by ensuring that the GIT_DIR env var is always set to a regular string, regardless of whether the solution name was specified to be a regular string or a unicode string. Bug: 1016599 Change-Id: I295d220559eac20a2ced876672d5ccdb787a5338 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1874704 Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Dirk Pranke <dpranke@chromium.org>changes/04/1874704/4
parent
a834f39e21
commit
db1e79c1c5
Loading…
Reference in New Issue