HomePhabricator

rhg: Sort `rhg status` output correctly

Authored by SimonSapin.

Description

rhg: Sort rhg status output correctly

  • The relative order of states is: modified, added, removed, deleted, unknown, ignored, clean
  • Files in the same state should be sorted by name, regardless of whether or not the were in "unsure" state based on metadata alone.

Differential Revision: https://phab.mercurial-scm.org/D10765

Details

Committed
SimonSapinMay 22 2021, 11:32 AM
Differential Revision
D10765: rhg: Sort `rhg status` output correctly
Parents
rHGa43d256c041a: dirstate-v2: Add `hg debugupgraderepo` command support
Branches
Unknown
Tags
Unknown