##// END OF EJS Templates
crecord: add "x" alias for space, remove test-only "TOGGLE" alias...
Kyle Lippincott -
r42770:75fd9421 default
parent child Browse files
Show More
@@ -1460,7 +1460,7 b' changes, the unselected changes are stil'
1460 1460 can use crecord multiple times to split large changes into smaller changesets.
1461 1461 the following are valid keystrokes:
1462 1462
1463 [space] : (un-)select item ([~]/[x] = partly/fully applied)
1463 x [space] : (un-)select item ([~]/[x] = partly/fully applied)
1464 1464 [enter] : (un-)select item and go to next item of same type
1465 1465 A : (un-)select all items
1466 1466 up/down-arrow [k/j] : go to previous/next unfolded item
@@ -1749,7 +1749,7 b' are you sure you want to review/edit and'
1749 1749 elif test and keypressed in ['R']:
1750 1750 self.opts['review'] = True
1751 1751 return True
1752 elif keypressed in [' '] or (test and keypressed in ["TOGGLE"]):
1752 elif keypressed in [' ', 'x']:
1753 1753 self.toggleapply()
1754 1754 elif keypressed in ['\n', 'KEY_ENTER']:
1755 1755 self.toggleapply()
@@ -34,7 +34,7 b' Committing some changes but stopping on '
34 34 $ echo "a" > a
35 35 $ hg add a
36 36 $ cat <<EOF >testModeCommands
37 > TOGGLE
37 > x
38 38 > c
39 39 > EOF
40 40 $ hg commit -i -m "a" -d "0 0"
@@ -71,7 +71,7 b' Committing only one file'
71 71 >>> open('b', 'wb').write(b"1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n") and None
72 72 $ hg add b
73 73 $ cat <<EOF >testModeCommands
74 > TOGGLE
74 > x
75 75 > KEY_DOWN
76 76 > c
77 77 > EOF
@@ -112,7 +112,7 b' Committing only one hunk while aborting '
112 112 > KEY_DOWN
113 113 > KEY_DOWN
114 114 > KEY_DOWN
115 > TOGGLE
115 > x
116 116 > a
117 117 > a
118 118 > e
@@ -182,8 +182,8 b' Newly added files can be selected with t'
182 182 $ echo "hello" > x
183 183 $ hg add x
184 184 $ cat <<EOF >testModeCommands
185 > TOGGLE
186 > TOGGLE
185 > x
186 > x
187 187 > c
188 188 > EOF
189 189 $ hg st
@@ -240,7 +240,7 b' of the edit.'
240 240 > KEY_DOWN
241 241 > KEY_DOWN
242 242 > e
243 > TOGGLE
243 > x
244 244 > c
245 245 > EOF
246 246 $ printf "printf 'editor ran\n'; exit 0" > editor.sh
@@ -272,11 +272,11 b' reflect this edition.'
272 272 > EOF
273 273 $ cat > testModeCommands <<EOF
274 274 > KEY_DOWN
275 > TOGGLE
275 > x
276 276 > KEY_DOWN
277 277 > f
278 278 > KEY_DOWN
279 > TOGGLE
279 > x
280 280 > R
281 281 > EOF
282 282
General Comments 0
You need to be logged in to leave comments. Login now