Files
chromium_depot_tools/gclient_paths.py
Scott Lee 67741248cf skip printing a warning message for missing .gclient_entries on cog
The function prints a warning message when it finds that
a given directory contains .gclient only without .gclient_entries.

It can possibly happen if gclient sync execution is halted
in the middle, and it causes format function commands to mess up
the format output with the warning message.

This CL is to bypass the warning in Cog env. Find more context
visit the linked bug.

Bug: 450901048
Change-Id: I87e376e9a64c8e2ce2231dc9549e0683a9f393ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7133882
Commit-Queue: Scott Lee <ddoman@chromium.org>
Auto-Submit: Scott Lee <ddoman@chromium.org>
Reviewed-by: Terrence Reilly <treilly@google.com>
2025-11-10 13:01:27 -08:00

6.5 KiB