changeset 25447:093d38165e5a stable

crecord: fix a typo introduced when moving crecord to core When moving crecord to core, I did a search an replace to remove all of the variable with caps letter. Doing so, I unfortunately changed the 'F' command to 'f' leading to two 'f' commands, one never used. This patch fixes this mistake and re enables the behavior of 'F'.
author Laurent Charignon <lcharignon@fb.com>
date Fri, 05 Jun 2015 10:44:34 -0700
parents 5f3666da6910
children c39640d26a4c bd4bcfa48c9e
files mercurial/crecord.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/crecord.py	Mon Jun 01 18:06:20 2015 -0400
+++ b/mercurial/crecord.py	Fri Jun 05 10:44:34 2015 -0700
@@ -1332,7 +1332,7 @@
  right/left-arrow [l/h] : go to child item / parent item
  shift-left-arrow   [h] : go to parent header / fold selected header
                       f : fold / unfold item, hiding/revealing its children
-                      f : fold / unfold parent item and all of its ancestors
+                      F : fold / unfold parent item and all of its ancestors
                       m : edit / resume editing the commit message
                       e : edit the currently selected hunk
                       a : toggle amend mode (hg rev >= 2.2)
@@ -1547,7 +1547,7 @@
             self.toggleedit(test=test)
         elif keypressed in ["f"]:
             self.togglefolded()
-        elif keypressed in ["f"]:
+        elif keypressed in ["F"]:
             self.togglefolded(foldparent=True)
         elif keypressed in ["?"]:
             self.helpwindow()