[Updated] D8986: debugmergestate: sort extras before printing

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Sep 12 03:26:51 UTC 2020


Closed by commit rHG00e4e97c6bc8: debugmergestate: sort extras before printing (authored by pulkit).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8986?vs=22550&id=22630

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8986/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8986

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -2062,7 +2062,7 @@
                 fm_files.data(renamed_path=state[1])
                 fm_files.data(rename_side=state[2])
             fm_extras = fm_files.nested(b'extras')
-            for k, v in ms.extras(f).items():
+            for k, v in sorted(ms.extras(f).items()):
                 fm_extras.startitem()
                 fm_extras.data(key=k)
                 fm_extras.data(value=v)



To: pulkit, #hg-reviewers, marmoute
Cc: marmoute, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200912/e0c9114c/attachment-0002.html>


More information about the Mercurial-patches mailing list