merge with stable
authorMatt Mackall <mpm@selenic.com>
Fri, 05 Jun 2015 15:44:43 -0500
changeset 25461 6fabde6ef445
parent 25459 0bda5bfaf0b1 (current diff)
parent 25460 bd4bcfa48c9e (diff)
child 25462 021e68d37c5b
merge with stable
mercurial/crecord.py
--- a/mercurial/crecord.py	Thu Jun 04 14:57:58 2015 -0500
+++ b/mercurial/crecord.py	Fri Jun 05 15:44:43 2015 -0500
@@ -1331,9 +1331,9 @@
                 [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 @@
     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'))