Page MenuHomePhabricator

Fix Mercurial commit history ordering
ClosedPublic

Authored by epriestley on Dec 5 2017, 1:38 PM.
Tags
None
Referenced Files
F19785878: D18817.id45157.diff
Wed, Feb 25, 1:58 AM
F19609685: D18817.id45152.diff
Tue, Feb 3, 1:52 PM
F19607358: D18817.id.diff
Tue, Feb 3, 11:03 AM
F19607357: D18817.id.diff
Tue, Feb 3, 11:03 AM
F19504324: D18817.diff
Jan 9 2026, 4:42 AM
F19502317: D18817.diff
Jan 8 2026, 4:02 PM
F19479555: D18817.diff
Jan 7 2026, 9:56 PM
F19471891: D18817.diff
Jan 6 2026, 7:57 PM
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