##// END OF EJS Templates
record: remove superfluous space
timeless@mozdev.org -
r9461:cec9fb4e default
parent child Browse files
Show More
@@ -291,7 +291,7 b' def filterpatch(ui, chunks):'
291 291 _('Record &all changes to all remaining files'),
292 292 _('&Quit, recording no changes'),
293 293 _('&?'))
294 r = ui.promptchoice("%s %s " % (query, resps), choices)
294 r = ui.promptchoice("%s %s" % (query, resps), choices)
295 295 if r == 7: # ?
296 296 doc = gettext(record.__doc__)
297 297 c = doc.find(_('y - record this change'))
@@ -80,28 +80,28 b' diff -r 1057167b20ef dir/a.txt'
80 80 % qrecord a.patch
81 81 diff --git a/1.txt b/1.txt
82 82 2 hunks, 4 lines changed
83 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,3 +1,3 @@
83 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,3 +1,3 @@
84 84 1
85 85 -2
86 86 +2 2
87 87 3
88 record change 1/6 to '1.txt'? [Ynsfdaq?] @@ -3,3 +3,3 @@
88 record change 1/6 to '1.txt'? [Ynsfdaq?] @@ -3,3 +3,3 @@
89 89 3
90 90 -4
91 91 +4 4
92 92 5
93 record change 2/6 to '1.txt'? [Ynsfdaq?] diff --git a/2.txt b/2.txt
93 record change 2/6 to '1.txt'? [Ynsfdaq?] diff --git a/2.txt b/2.txt
94 94 1 hunks, 2 lines changed
95 examine changes to '2.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
95 examine changes to '2.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
96 96 a
97 97 -b
98 98 +b b
99 99 c
100 100 d
101 101 e
102 record change 4/6 to '2.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
102 record change 4/6 to '2.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
103 103 1 hunks, 2 lines changed
104 examine changes to 'dir/a.txt'? [Ynsfdaq?]
104 examine changes to 'dir/a.txt'? [Ynsfdaq?]
105 105 % after qrecord a.patch 'tip'
106 106 changeset: 1:5d1ca63427ee
107 107 tag: qtip
@@ -157,22 +157,22 b' diff -r 5d1ca63427ee dir/a.txt'
157 157 % qrecord b.patch
158 158 diff --git a/1.txt b/1.txt
159 159 1 hunks, 2 lines changed
160 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
160 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
161 161 1
162 162 2 2
163 163 3
164 164 -4
165 165 +4 4
166 166 5
167 record change 1/3 to '1.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
167 record change 1/3 to '1.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
168 168 1 hunks, 2 lines changed
169 examine changes to 'dir/a.txt'? [Ynsfdaq?] @@ -1,4 +1,4 @@
169 examine changes to 'dir/a.txt'? [Ynsfdaq?] @@ -1,4 +1,4 @@
170 170 -hello world
171 171 +hello world!
172 172
173 173 someone
174 174 up
175 record change 3/3 to 'dir/a.txt'? [Ynsfdaq?]
175 record change 3/3 to 'dir/a.txt'? [Ynsfdaq?]
176 176 % after qrecord b.patch 'tip'
177 177 changeset: 2:b056198bf878
178 178 tag: qtip
@@ -39,7 +39,7 b' use "hg -v help record" to show global o'
39 39 % select no files
40 40 diff --git a/empty-rw b/empty-rw
41 41 new file mode 100644
42 examine changes to 'empty-rw'? [Ynsfdaq?] no changes to record
42 examine changes to 'empty-rw'? [Ynsfdaq?] no changes to record
43 43
44 44 changeset: -1:000000000000
45 45 tag: tip
@@ -50,7 +50,7 b' date: Thu Jan 01 00:00:00 1970 +0'
50 50 % select files but no hunks
51 51 diff --git a/empty-rw b/empty-rw
52 52 new file mode 100644
53 examine changes to 'empty-rw'? [Ynsfdaq?] abort: empty commit message
53 examine changes to 'empty-rw'? [Ynsfdaq?] abort: empty commit message
54 54
55 55 changeset: -1:000000000000
56 56 tag: tip
@@ -61,7 +61,7 b' date: Thu Jan 01 00:00:00 1970 +0'
61 61 % record empty file
62 62 diff --git a/empty-rw b/empty-rw
63 63 new file mode 100644
64 examine changes to 'empty-rw'? [Ynsfdaq?]
64 examine changes to 'empty-rw'? [Ynsfdaq?]
65 65 changeset: 0:c0708cf4e46e
66 66 tag: tip
67 67 user: test
@@ -73,7 +73,7 b' summary: empty'
73 73 diff --git a/empty-rw b/empty-rename
74 74 rename from empty-rw
75 75 rename to empty-rename
76 examine changes to 'empty-rw' and 'empty-rename'? [Ynsfdaq?]
76 examine changes to 'empty-rw' and 'empty-rename'? [Ynsfdaq?]
77 77 changeset: 1:df251d174da3
78 78 tag: tip
79 79 user: test
@@ -85,7 +85,7 b' summary: rename'
85 85 diff --git a/empty-rename b/empty-copy
86 86 copy from empty-rename
87 87 copy to empty-copy
88 examine changes to 'empty-rename' and 'empty-copy'? [Ynsfdaq?]
88 examine changes to 'empty-rename' and 'empty-copy'? [Ynsfdaq?]
89 89 changeset: 2:b63ea3939f8d
90 90 tag: tip
91 91 user: test
@@ -96,7 +96,7 b' summary: copy'
96 96 % delete empty file
97 97 diff --git a/empty-copy b/empty-copy
98 98 deleted file mode 100644
99 examine changes to 'empty-copy'? [Ynsfdaq?]
99 examine changes to 'empty-copy'? [Ynsfdaq?]
100 100 changeset: 3:a2546574bce9
101 101 tag: tip
102 102 user: test
@@ -109,7 +109,7 b' 1 changesets found'
109 109 diff --git a/tip.bundle b/tip.bundle
110 110 new file mode 100644
111 111 this is a binary file
112 examine changes to 'tip.bundle'? [Ynsfdaq?]
112 examine changes to 'tip.bundle'? [Ynsfdaq?]
113 113 changeset: 4:9e998a545a8b
114 114 tag: tip
115 115 user: test
@@ -123,7 +123,7 b' Binary file tip.bundle has changed'
123 123 1 changesets found
124 124 diff --git a/tip.bundle b/tip.bundle
125 125 this modifies a binary file (all or nothing)
126 examine changes to 'tip.bundle'? [Ynsfdaq?]
126 examine changes to 'tip.bundle'? [Ynsfdaq?]
127 127 changeset: 5:93d05561507d
128 128 tag: tip
129 129 user: test
@@ -139,7 +139,7 b' diff --git a/tip.bundle b/top.bundle'
139 139 rename from tip.bundle
140 140 rename to top.bundle
141 141 this modifies a binary file (all or nothing)
142 examine changes to 'tip.bundle' and 'top.bundle'? [Ynsfdaq?]
142 examine changes to 'tip.bundle' and 'top.bundle'? [Ynsfdaq?]
143 143 changeset: 6:699cc1bea9aa
144 144 tag: tip
145 145 user: test
@@ -154,7 +154,7 b' Binary file top.bundle has changed'
154 154 % add plain file
155 155 diff --git a/plain b/plain
156 156 new file mode 100644
157 examine changes to 'plain'? [Ynsfdaq?]
157 examine changes to 'plain'? [Ynsfdaq?]
158 158 changeset: 7:118ed744216b
159 159 tag: tip
160 160 user: test
@@ -179,46 +179,46 b' diff -r 699cc1bea9aa -r 118ed744216b pla'
179 179 % modify end of plain file
180 180 diff --git a/plain b/plain
181 181 1 hunks, 1 lines changed
182 examine changes to 'plain'? [Ynsfdaq?] @@ -8,3 +8,4 @@
182 examine changes to 'plain'? [Ynsfdaq?] @@ -8,3 +8,4 @@
183 183 8
184 184 9
185 185 10
186 186 +11
187 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, no EOL
187 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, no EOL
188 188 diff --git a/plain b/plain
189 189 1 hunks, 1 lines changed
190 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,4 @@
190 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,4 @@
191 191 9
192 192 10
193 193 11
194 194 +cf81a2760718a74d44c0c2eecb72f659e63a69c5
195 195 \ No newline at end of file
196 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, add EOL
196 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, add EOL
197 197 diff --git a/plain b/plain
198 198 1 hunks, 2 lines changed
199 examine changes to 'plain'? [Ynsfdaq?] @@ -9,4 +9,4 @@
199 examine changes to 'plain'? [Ynsfdaq?] @@ -9,4 +9,4 @@
200 200 9
201 201 10
202 202 11
203 203 -cf81a2760718a74d44c0c2eecb72f659e63a69c5
204 204 \ No newline at end of file
205 205 +cf81a2760718a74d44c0c2eecb72f659e63a69c5
206 record this change to 'plain'? [Ynsfdaq?] % modify beginning, trim end, record both
206 record this change to 'plain'? [Ynsfdaq?] % modify beginning, trim end, record both
207 207 diff --git a/plain b/plain
208 208 2 hunks, 4 lines changed
209 examine changes to 'plain'? [Ynsfdaq?] @@ -1,4 +1,4 @@
209 examine changes to 'plain'? [Ynsfdaq?] @@ -1,4 +1,4 @@
210 210 -1
211 211 +2
212 212 2
213 213 3
214 214 4
215 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -8,5 +8,3 @@
215 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -8,5 +8,3 @@
216 216 8
217 217 9
218 218 10
219 219 -11
220 220 -cf81a2760718a74d44c0c2eecb72f659e63a69c5
221 record change 2/2 to 'plain'? [Ynsfdaq?]
221 record change 2/2 to 'plain'? [Ynsfdaq?]
222 222 changeset: 11:d09ab1967dab
223 223 tag: tip
224 224 user: test
@@ -245,7 +245,7 b' diff -r e2ecd9b0b78d -r d09ab1967dab pla'
245 245 % record end
246 246 diff --git a/plain b/plain
247 247 2 hunks, 5 lines changed
248 examine changes to 'plain'? [Ynsfdaq?] @@ -1,9 +1,6 @@
248 examine changes to 'plain'? [Ynsfdaq?] @@ -1,9 +1,6 @@
249 249 -2
250 250 -2
251 251 -3
@@ -255,7 +255,7 b" examine changes to 'plain'? [Ynsfdaq?] "
255 255 7
256 256 8
257 257 9
258 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -4,7 +1,7 @@
258 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -4,7 +1,7 @@
259 259 4
260 260 5
261 261 6
@@ -264,7 +264,7 b" record change 1/2 to 'plain'? [Ynsfdaq?]"
264 264 9
265 265 -10
266 266 +10.new
267 record change 2/2 to 'plain'? [Ynsfdaq?]
267 record change 2/2 to 'plain'? [Ynsfdaq?]
268 268 changeset: 12:44516c9708ae
269 269 tag: tip
270 270 user: test
@@ -284,14 +284,14 b' diff -r d09ab1967dab -r 44516c9708ae pla'
284 284 % record beginning
285 285 diff --git a/plain b/plain
286 286 1 hunks, 3 lines changed
287 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,3 @@
287 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,3 @@
288 288 -2
289 289 -2
290 290 -3
291 291 4
292 292 5
293 293 6
294 record this change to 'plain'? [Ynsfdaq?]
294 record this change to 'plain'? [Ynsfdaq?]
295 295 changeset: 13:3ebbace64a8d
296 296 tag: tip
297 297 user: test
@@ -313,7 +313,7 b' diff -r 44516c9708ae -r 3ebbace64a8d pla'
313 313 % record end
314 314 diff --git a/plain b/plain
315 315 2 hunks, 4 lines changed
316 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,9 @@
316 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,9 @@
317 317 +1
318 318 +2
319 319 +3
@@ -323,7 +323,7 b" examine changes to 'plain'? [Ynsfdaq?] "
323 323 7
324 324 8
325 325 9
326 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -1,7 +4,6 @@
326 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -1,7 +4,6 @@
327 327 4
328 328 5
329 329 6
@@ -331,17 +331,17 b" record change 1/2 to 'plain'? [Ynsfdaq?]"
331 331 8
332 332 9
333 333 -10.new
334 record change 2/2 to 'plain'? [Ynsfdaq?] % add to beginning, middle, end
334 record change 2/2 to 'plain'? [Ynsfdaq?] % add to beginning, middle, end
335 335 % record beginning, middle
336 336 diff --git a/plain b/plain
337 337 3 hunks, 7 lines changed
338 examine changes to 'plain'? [Ynsfdaq?] @@ -1,2 +1,5 @@
338 examine changes to 'plain'? [Ynsfdaq?] @@ -1,2 +1,5 @@
339 339 +1
340 340 +2
341 341 +3
342 342 4
343 343 5
344 record change 1/3 to 'plain'? [Ynsfdaq?] @@ -1,6 +4,8 @@
344 record change 1/3 to 'plain'? [Ynsfdaq?] @@ -1,6 +4,8 @@
345 345 4
346 346 5
347 347 +5.new
@@ -350,14 +350,14 b" record change 1/3 to 'plain'? [Ynsfdaq?]"
350 350 7
351 351 8
352 352 9
353 record change 2/3 to 'plain'? [Ynsfdaq?] @@ -3,4 +8,6 @@
353 record change 2/3 to 'plain'? [Ynsfdaq?] @@ -3,4 +8,6 @@
354 354 6
355 355 7
356 356 8
357 357 9
358 358 +10
359 359 +11
360 record change 3/3 to 'plain'? [Ynsfdaq?]
360 record change 3/3 to 'plain'? [Ynsfdaq?]
361 361 changeset: 15:c1c639d8b268
362 362 tag: tip
363 363 user: test
@@ -382,13 +382,13 b' diff -r efc0dad7bd9f -r c1c639d8b268 pla'
382 382 % record end
383 383 diff --git a/plain b/plain
384 384 1 hunks, 2 lines changed
385 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,5 @@
385 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,5 @@
386 386 7
387 387 8
388 388 9
389 389 +10
390 390 +11
391 record this change to 'plain'? [Ynsfdaq?]
391 record this change to 'plain'? [Ynsfdaq?]
392 392 changeset: 16:80b74bbc7808
393 393 tag: tip
394 394 user: test
@@ -408,10 +408,10 b' diff -r c1c639d8b268 -r 80b74bbc7808 pla'
408 408 adding subdir/a
409 409 diff --git a/subdir/a b/subdir/a
410 410 1 hunks, 1 lines changed
411 examine changes to 'subdir/a'? [Ynsfdaq?] @@ -1,1 +1,2 @@
411 examine changes to 'subdir/a'? [Ynsfdaq?] @@ -1,1 +1,2 @@
412 412 a
413 413 +a
414 record this change to 'subdir/a'? [Ynsfdaq?]
414 record this change to 'subdir/a'? [Ynsfdaq?]
415 415 changeset: 18:33ff5c4fb017
416 416 tag: tip
417 417 user: test
@@ -428,7 +428,7 b' diff -r aecf2b2ea83c -r 33ff5c4fb017 sub'
428 428 % help, quit
429 429 diff --git a/subdir/f1 b/subdir/f1
430 430 1 hunks, 1 lines changed
431 examine changes to 'subdir/f1'? [Ynsfdaq?] y - record this change
431 examine changes to 'subdir/f1'? [Ynsfdaq?] y - record this change
432 432 n - skip this change
433 433 s - skip remaining changes to this file
434 434 f - record remaining changes to this file
@@ -436,31 +436,31 b' d - done, skip remaining changes and fil'
436 436 a - record all changes to all remaining files
437 437 q - quit, recording no changes
438 438 ? - display help
439 examine changes to 'subdir/f1'? [Ynsfdaq?] abort: user quit
439 examine changes to 'subdir/f1'? [Ynsfdaq?] abort: user quit
440 440 % skip
441 441 diff --git a/subdir/f1 b/subdir/f1
442 442 1 hunks, 1 lines changed
443 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
443 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
444 444 1 hunks, 1 lines changed
445 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
445 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
446 446 % no
447 447 diff --git a/subdir/f1 b/subdir/f1
448 448 1 hunks, 1 lines changed
449 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
449 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
450 450 1 hunks, 1 lines changed
451 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
451 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
452 452 % f, quit
453 453 diff --git a/subdir/f1 b/subdir/f1
454 454 1 hunks, 1 lines changed
455 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
455 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
456 456 1 hunks, 1 lines changed
457 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: user quit
457 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: user quit
458 458 % s, all
459 459 diff --git a/subdir/f1 b/subdir/f1
460 460 1 hunks, 1 lines changed
461 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
461 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
462 462 1 hunks, 1 lines changed
463 examine changes to 'subdir/f2'? [Ynsfdaq?]
463 examine changes to 'subdir/f2'? [Ynsfdaq?]
464 464 changeset: 20:094183e04b7c
465 465 tag: tip
466 466 user: test
@@ -477,7 +477,7 b' diff -r f9e855cd9374 -r 094183e04b7c sub'
477 477 % f
478 478 diff --git a/subdir/f1 b/subdir/f1
479 479 1 hunks, 1 lines changed
480 examine changes to 'subdir/f1'? [Ynsfdaq?]
480 examine changes to 'subdir/f1'? [Ynsfdaq?]
481 481 changeset: 21:38164785b0ef
482 482 tag: tip
483 483 user: test
@@ -496,11 +496,11 b' diff --git a/subdir/f1 b/subdir/f1'
496 496 old mode 100644
497 497 new mode 100755
498 498 1 hunks, 1 lines changed
499 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,2 +1,3 @@
499 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,2 +1,3 @@
500 500 a
501 501 a
502 502 +a
503 record this change to 'subdir/f1'? [Ynsfdaq?]
503 record this change to 'subdir/f1'? [Ynsfdaq?]
504 504 changeset: 22:a891589cb933
505 505 tag: tip
506 506 user: test
@@ -520,12 +520,12 b' new mode 100755'
520 520 % preserve execute permission on original
521 521 diff --git a/subdir/f1 b/subdir/f1
522 522 1 hunks, 1 lines changed
523 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,3 +1,4 @@
523 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,3 +1,4 @@
524 524 a
525 525 a
526 526 a
527 527 +b
528 record this change to 'subdir/f1'? [Ynsfdaq?]
528 record this change to 'subdir/f1'? [Ynsfdaq?]
529 529 changeset: 23:befa0dae6201
530 530 tag: tip
531 531 user: test
@@ -546,12 +546,12 b' diff --git a/subdir/f1 b/subdir/f1'
546 546 old mode 100755
547 547 new mode 100644
548 548 1 hunks, 1 lines changed
549 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -2,3 +2,4 @@
549 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -2,3 +2,4 @@
550 550 a
551 551 a
552 552 b
553 553 +c
554 record this change to 'subdir/f1'? [Ynsfdaq?]
554 record this change to 'subdir/f1'? [Ynsfdaq?]
555 555 changeset: 24:8fd83ff53ce6
556 556 tag: tip
557 557 user: test
@@ -572,12 +572,12 b' new mode 100644'
572 572 % with win32ext
573 573 diff --git a/subdir/f1 b/subdir/f1
574 574 1 hunks, 1 lines changed
575 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -3,3 +3,4 @@
575 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -3,3 +3,4 @@
576 576 a
577 577 b
578 578 c
579 579 +d
580 record this change to 'subdir/f1'? [Ynsfdaq?]
580 record this change to 'subdir/f1'? [Ynsfdaq?]
581 581 changeset: 25:49b3838dc9e7
582 582 tag: tip
583 583 user: test
General Comments 0
You need to be logged in to leave comments. Login now