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'.
--- 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()