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