Uh oh!
There was an error while loading. Please reload this page.
Revert "fix download-llvm logic for subtree sync branches #137593" - #138878
Conversation
jieyouxu
commented
Mar 24, 2025
@bors p=101 |
FTR, I'm posting a revert instead of a fix-forward because I know absolutely nothing about |
dianqk
commented
Mar 24, 2025
@bors r+ rollup=never |
bors
commented
Mar 24, 2025
bors
commented
Mar 24, 2025
Revert "fix download-llvm logic for subtree sync branches rust-lang#137593" Looks like unfortunately the `--diff-merges` flag is a `git show`-only command, not `git rev-list`. See https://git-scm.com/docs/git-rev-list#Documentation/git-rev-list.txt---first-parent which has `--first-parent`, versus https://git-scm.com/docs/git-show#Documentation/git-show.txt---diff-mergesltformatgt which has `--diff-merges=first-parent`. This reverts commit 95994f9, reversing changes made to 7290b04. This will unfortunately re-open rust-lang#101907 but that isn't fixed anyway since the git invocation is broken. r? `@onur-ozkan` (or bootstrap or infra or anyone really)
Kobzol
commented
Mar 24, 2025
#138591 will finally remove all these git hacks :) |
Hm, very strange, I tried this locally with |
RalfJung
commented
Mar 24, 2025
Also, why did the PR even land if it completely breaks the invocation?!? |
Kobzol
commented
Mar 24, 2025
I think that the perf. collector machine just has an old version of git. This code should be nuked soon, hopefully, so I don't think it's worth fixing too much. |
I'm not sure how it works for you locally, that is bizzare... https://git-scm.com/docs/git-rev-list has no results if I grep |
RalfJung
commented
Mar 24, 2025
Can you just try running the command I posted above locally in your rustc checkout? With git 2.47.2 it seems to just work. 🤷 |
jieyouxu
commented
Mar 24, 2025
That is bizarre, it works for me too... |
workingjubilee
commented
Mar 24, 2025
On the
This is so with most of the manual pages. In fact, a few commands have almost-perfect supersets of another command's option list. |
jieyouxu
commented
Mar 24, 2025
Which means this revert may not be reverting the right PR... But then looking at the rollup I can't tell if another PR could break the perf |
jieyouxu
commented
Mar 24, 2025
@bors retry r- |
RalfJung
commented
Mar 24, 2025
jieyouxu
commented
Mar 24, 2025
@bors r=dianqk |
bors
commented
Mar 24, 2025
bors
commented
Mar 24, 2025
workingjubilee
commented
Mar 24, 2025
Even if this isn't the right PR to revert, as long as the tree is closed due to a rollup, I can't see any harm in filing a revert of each PR, one by one, until we find the one that did it. |
The perf machine has git |
jieyouxu
commented
Mar 24, 2025
RalfJung
commented
Mar 24, 2025
via email
That git seems to be more than 6 years old... So yeah quite possible that it just lacks this flag. |
bors
commented
Mar 24, 2025
☀️ Test successful - checks-actions |
rust-timer
commented
Mar 24, 2025
Finished benchmarking commit (b95aac6): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -3.0%, secondary -2.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 3.5%, secondary 2.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: missing data |

Reverts #137593.
It's likely because the perf machine has an old
gitversion that doesn't have the--diff-mergesoption or its forwarding ingit rev-listyet...This reverts commit 95994f9, reversing changes made to 7290b04.
This will unfortunately re-open #101907.
cc @RalfJung@Mark-Simulacrum for FYI
r? @onur-ozkan (or bootstrap or infra or anyone really)