# HG changeset patch # User Matt Mackall # Date 2015-06-05 20:44:43 # Node ID 6fabde6ef4453ee6c2aa964184f6cf2c54483621 # Parent 0bda5bfaf0b148e585e68257fe5b48ab9c88f9a7 # Parent bd4bcfa48c9e1a1797248725078f040e4841b45a merge with stable diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -1331,9 +1331,9 @@ the following are valid keystrokes: [space] : (un-)select item ([~]/[x] = partly/fully applied) a : (un-)select all items up/down-arrow [k/j] : go to previous/next unfolded item - pgup/pgdn [k/j] : go to previous/next item of same type + pgup/pgdn [K/J] : go to previous/next item of same type right/left-arrow [l/h] : go to child item / parent item - shift-left-arrow [h] : go to parent header / fold selected header + 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 m : edit / resume editing the commit message @@ -1520,17 +1520,17 @@ are you sure you want to review/edit and def handlekeypressed(self, keypressed, test=False): if keypressed in ["k", "KEY_UP"]: self.uparrowevent() - if keypressed in ["k", "KEY_PPAGE"]: + if keypressed in ["K", "KEY_PPAGE"]: self.uparrowshiftevent() elif keypressed in ["j", "KEY_DOWN"]: self.downarrowevent() - elif keypressed in ["j", "KEY_NPAGE"]: + elif keypressed in ["J", "KEY_NPAGE"]: self.downarrowshiftevent() elif keypressed in ["l", "KEY_RIGHT"]: self.rightarrowevent() elif keypressed in ["h", "KEY_LEFT"]: self.leftarrowevent() - elif keypressed in ["h", "KEY_SLEFT"]: + elif keypressed in ["H", "KEY_SLEFT"]: self.leftarrowshiftevent() elif keypressed in ["q"]: raise util.Abort(_('user quit'))