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
--- 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):