give a better error when origin/HEAD
is vastly out of date
#118758
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
i just tried to compile a recent branch of my fork and got this confusing error:
notice that 3572d74 is from june. this is because
git merge-base origin/master HEAD
outputs 69a6373, which in turn is because origin/master points to 69a6373, which is 6 months old.it would be nice for bootstrap to give a warning if
origin/master
is massively outdated. anything more than a week is probably suspect, or if there's any commits ingit log origin/master..HEAD
that aren't authored by the current user.there is a second error here that apparently the
help_on_error
reporting only works on linux, not windows.@rustbot label +A-diagnostics +T-bootstrap
The text was updated successfully, but these errors were encountered: