gclient: fix gclient sync with revision ref
Check /refs/heads/ strictly as branch revision type. Any ref (e.g. /refs/changes/*) not a branch has no difference from a hash. Bug:341208163 Change-Id: I23e8c577b099adb88917527f827da3b122997cb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5835142 Commit-Queue: Chenlin Fan <fancl@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>changes/42/5835142/8
parent
ab105459cb
commit
ae3745656b
Loading…
Reference in New Issue