Page MenuHomePhabricator

Fix Mercurial commit history ordering
ClosedPublic

Authored by epriestley on Dec 5 2017, 1:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 21, 3:29 PM
Unknown Object (File)
Wed, Feb 19, 2:28 PM
Unknown Object (File)
Fri, Jan 31, 10:52 PM
Unknown Object (File)
Thu, Jan 30, 1:51 PM
Unknown Object (File)
Jan 21 2025, 9:32 AM
Unknown Object (File)
Jan 20 2025, 6:56 AM
Unknown Object (File)
Jan 17 2025, 5:40 PM
Unknown Object (File)
Jan 3 2025, 3:58 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/diffusion-observed-mercurial-repository-history-broken/825.

In D18769, I rewrote this from using the --branch flag (which is unsafe and does not function on branches named --config=x.y and such).

However, this rewrite accidentally changed the result order, which impacted Mercurial commit hisotry lists and graphs. Swap the order of the constraints so we get newest-to-oldest again, as expected.

Test Plan

Viewed a Mercurial repository's history graph, saw sensible chronology after the patch.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable