# HG changeset patch # User Laurent Charignon # Date 1433526274 25200 # Node ID 093d38165e5ab7eb0c34a56b843ac6c81474b495 # Parent 5f3666da691005d8f2c8afe9d2c249ee80fa96ed 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'. diff -r 5f3666da6910 -r 093d38165e5a mercurial/crecord.py --- 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()