Page MenuHomeFreeBSD

mfc-candidates: fix output order for incorrect commit dates
ClosedPublic

Authored by emaste on Apr 16 2024, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 20, 3:53 AM
Unknown Object (File)
Mon, May 13, 2:39 PM
Unknown Object (File)
Tue, May 7, 1:55 PM
Unknown Object (File)
Fri, Apr 26, 5:13 AM
Unknown Object (File)
Thu, Apr 25, 9:30 PM
Unknown Object (File)
Tue, Apr 23, 9:48 AM
Unknown Object (File)
Apr 17 2024, 6:24 PM
Unknown Object (File)
Apr 16 2024, 7:45 PM
Subscribers

Details

Summary

Previously we obtained the list of MFC candidate hashes (i.e., those commits only in the "MFC from" branch), removed the already merged commits, and then printed the list sorted by commit time. This is usually the correct order, unless commits have non-monotonically-increasing commit times. Unfortunately this is true for a number of commits in our tree. This made it difficult to merge some groups of related commits.

Instead, keep the from-list and to-list in git rev-parse order, and move the matching logic to a new lua script.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
emaste added a subscriber: bz.

rename function to be more generic

By default git rev-list is in reverse chronological order. Add --reverse to print it in chronological order.

Thanks! That's awesome service

This revision is now accepted and ready to land.Apr 16 2024, 5:36 PM