Mercurial > hg
comparison mercurial/crecord.py @ 25460:bd4bcfa48c9e stable
crecord: fix three typos introduced while moving crecord into 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 some commands
with capital letter shortcut to their lowercase counterpart. I fixed one
of these cases in 093d38165e5a. This patch fixes all of the remaining cases.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Fri, 05 Jun 2015 12:57:21 -0700 |
parents | 093d38165e5a |
children | 6fabde6ef445 |
comparison
equal
deleted
inserted
replaced
25447:093d38165e5a | 25460:bd4bcfa48c9e |
---|---|
1326 the following are valid keystrokes: | 1326 the following are valid keystrokes: |
1327 | 1327 |
1328 [space] : (un-)select item ([~]/[x] = partly/fully applied) | 1328 [space] : (un-)select item ([~]/[x] = partly/fully applied) |
1329 a : (un-)select all items | 1329 a : (un-)select all items |
1330 up/down-arrow [k/j] : go to previous/next unfolded item | 1330 up/down-arrow [k/j] : go to previous/next unfolded item |
1331 pgup/pgdn [k/j] : go to previous/next item of same type | 1331 pgup/pgdn [K/J] : go to previous/next item of same type |
1332 right/left-arrow [l/h] : go to child item / parent item | 1332 right/left-arrow [l/h] : go to child item / parent item |
1333 shift-left-arrow [h] : go to parent header / fold selected header | 1333 shift-left-arrow [H] : go to parent header / fold selected header |
1334 f : fold / unfold item, hiding/revealing its children | 1334 f : fold / unfold item, hiding/revealing its children |
1335 F : fold / unfold parent item and all of its ancestors | 1335 F : fold / unfold parent item and all of its ancestors |
1336 m : edit / resume editing the commit message | 1336 m : edit / resume editing the commit message |
1337 e : edit the currently selected hunk | 1337 e : edit the currently selected hunk |
1338 a : toggle amend mode (hg rev >= 2.2) | 1338 a : toggle amend mode (hg rev >= 2.2) |
1515 return True | 1515 return True |
1516 | 1516 |
1517 def handlekeypressed(self, keypressed, test=False): | 1517 def handlekeypressed(self, keypressed, test=False): |
1518 if keypressed in ["k", "KEY_UP"]: | 1518 if keypressed in ["k", "KEY_UP"]: |
1519 self.uparrowevent() | 1519 self.uparrowevent() |
1520 if keypressed in ["k", "KEY_PPAGE"]: | 1520 if keypressed in ["K", "KEY_PPAGE"]: |
1521 self.uparrowshiftevent() | 1521 self.uparrowshiftevent() |
1522 elif keypressed in ["j", "KEY_DOWN"]: | 1522 elif keypressed in ["j", "KEY_DOWN"]: |
1523 self.downarrowevent() | 1523 self.downarrowevent() |
1524 elif keypressed in ["j", "KEY_NPAGE"]: | 1524 elif keypressed in ["J", "KEY_NPAGE"]: |
1525 self.downarrowshiftevent() | 1525 self.downarrowshiftevent() |
1526 elif keypressed in ["l", "KEY_RIGHT"]: | 1526 elif keypressed in ["l", "KEY_RIGHT"]: |
1527 self.rightarrowevent() | 1527 self.rightarrowevent() |
1528 elif keypressed in ["h", "KEY_LEFT"]: | 1528 elif keypressed in ["h", "KEY_LEFT"]: |
1529 self.leftarrowevent() | 1529 self.leftarrowevent() |
1530 elif keypressed in ["h", "KEY_SLEFT"]: | 1530 elif keypressed in ["H", "KEY_SLEFT"]: |
1531 self.leftarrowshiftevent() | 1531 self.leftarrowshiftevent() |
1532 elif keypressed in ["q"]: | 1532 elif keypressed in ["q"]: |
1533 raise util.Abort(_('user quit')) | 1533 raise util.Abort(_('user quit')) |
1534 elif keypressed in ["c"]: | 1534 elif keypressed in ["c"]: |
1535 if self.confirmcommit(): | 1535 if self.confirmcommit(): |