diff tests/test-commit-interactive-curses.t @ 40253:682f73fa924a

crecord: make enter move cursor down to the next item of the same type Let's replace experimental.spacemovesdown with a separate key: Enter, since it wasn't used for anything in crecord. Not sure if '\n' works on Windows though. nextsametype() strictly only moves to items of the same type as the current item. This, for example, allows to go over individual lines in a diff and skip hunk and file headers (which would toggle multiple lines).
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 13 Oct 2018 11:52:30 +0200
parents 5abc47d4ca6b
children 1d99c9a5ccb0
line wrap: on
line diff
--- a/tests/test-commit-interactive-curses.t	Sat Oct 13 12:58:24 2018 +0000
+++ b/tests/test-commit-interactive-curses.t	Sat Oct 13 11:52:30 2018 +0200
@@ -327,24 +327,6 @@
   hello world
   lower
 
-Check spacemovesdown
-
-  $ cat <<EOF >> $HGRCPATH
-  > [experimental]
-  > spacemovesdown = true
-  > EOF
-  $ cat <<EOF >testModeCommands
-  > TOGGLE
-  > TOGGLE
-  > X
-  > EOF
-  $ hg status -q
-  M b
-  M x
-  $ hg commit -i -m "nothing to commit?" -d "0 0"
-  no changes to record
-  [1]
-
 Check ui.interface logic for the chunkselector
 
 The default interface is text