# HG changeset patch # User Martin von Zweigbergk # Date 2021-10-18 19:30:53 # Node ID 9503e15dc588633c8fe62645c5c317cfacb3da60 # Parent 45a073af50a279af4fee92b2db792e0091ddd58a chistedit: explain which order the commits are presented in It's not obvious which order the commits in chistedit (and text-based histedit), so let's add a note about it. Differential Revision: https://phab.mercurial-scm.org/D11832 diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1324,6 +1324,10 @@ pgup: prev page, space/pgdn: next page, d: drop, e: edit, f: fold, m: mess, p: pick, r: roll pgup/K: move patch up, pgdn/J: move patch down, c: commit, q: abort """ + if self.later_on_top: + help += b"Newer commits are shown above older commits.\n" + else: + help += b"Older commits are shown above newer commits.\n" return help.splitlines() def render_help(self, win):