# HG changeset patch # User Martin von Zweigbergk # Date 1634585453 25200 # 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 -r 45a073af50a2 -r 9503e15dc588 hgext/histedit.py --- a/hgext/histedit.py Mon Nov 22 17:21:55 2021 -0800 +++ b/hgext/histedit.py Mon Oct 18 12:30:53 2021 -0700 @@ -1324,6 +1324,10 @@ 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):