This is an archive of the discontinued LLVM Phabricator instance.

Use force checkout so that local files do not cause failure.
ClosedPublic

Authored by browneee on Jun 1 2022, 1:24 PM.

Details

Summary

Example of problem:

+ git checkout 53753531bc19bae816cf0cbf9e713ce0333ba091
error: Your local changes to the following files would be overwritten by checkout:
  libcxx/test/std/algorithms/robust_against_adl.compile.pass.cpp
Please commit your changes or stash them before you switch branches.
Aborting

This script then will retry at a greater depth for this problem.

Note that checkout -f with a non-existing revision will exit non-zero.

Diff Detail

Event Timeline

browneee created this revision.Jun 1 2022, 1:24 PM
Herald added a project: Restricted Project. · View Herald Transcript
browneee requested review of this revision.Jun 1 2022, 1:24 PM
browneee updated this revision to Diff 433523.Jun 1 2022, 1:27 PM

Add -f on the second checkout command.

Going to push without review to repair this buildbot ASAP: https://lab.llvm.org/buildbot/#/builders/168

This revision was not accepted when it landed; it landed in state Needs Review.Jun 1 2022, 1:42 PM
This revision was automatically updated to reflect the committed changes.