Page MenuHomeFreeBSD

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

Authored by emaste on Tue, Apr 16, 4:18 PM.
Tags
None
Referenced Files
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)
Wed, Apr 17, 6:24 PM
Unknown Object (File)
Tue, Apr 16, 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.Tue, Apr 16, 5:36 PM