##// END OF EJS Templates
test-command-template: test 'file_copies' keyword
Patrick Mezard -
r10059:9dd4e285 default
parent child Browse files
Show More
@@ -32,6 +32,7 b' hg add second'
32 hg commit -m second -d '1000000 0' -u 'User Name <user@hostname>'
32 hg commit -m second -d '1000000 0' -u 'User Name <user@hostname>'
33 echo third > third
33 echo third > third
34 hg add third
34 hg add third
35 hg mv second fourth
35 hg commit -m third -d "2020-01-01 10:01"
36 hg commit -m third -d "2020-01-01 10:01"
36
37
37 # make sure user/global hgrc does not affect tests
38 # make sure user/global hgrc does not affect tests
@@ -93,7 +94,8 b' cat changelog'
93
94
94 echo "# keys work"
95 echo "# keys work"
95 for key in author branches date desc file_adds file_dels file_mods \
96 for key in author branches date desc file_adds file_dels file_mods \
96 files manifest node parents rev tags diffstat extras; do
97 'file_copies%filecopy' files manifest node parents rev tags diffstat \
98 extras; do
97 for mode in '' --verbose --debug; do
99 for mode in '' --verbose --debug; do
98 hg log $mode --template "$key$mode: {$key}\n"
100 hg log $mode --template "$key$mode: {$key}\n"
99 done
101 done
@@ -8,7 +8,7 b' created new head'
8 # revision with no copies (used to print a traceback)
8 # revision with no copies (used to print a traceback)
9
9
10 # compact style works
10 # compact style works
11 8[tip] 946e2bd9c565 2020-01-01 10:01 +0000 test
11 8[tip] 3bdecc1cde0c 2020-01-01 10:01 +0000 test
12 third
12 third
13
13
14 7:-1 29114dbae42b 1970-01-12 13:46 +0000 user
14 7:-1 29114dbae42b 1970-01-12 13:46 +0000 user
@@ -35,7 +35,7 b' 1 b608e9d1a3f0 1970-01-13 17:33 +000'
35 0 1e4e1b8f71e0 1970-01-12 13:46 +0000 user
35 0 1e4e1b8f71e0 1970-01-12 13:46 +0000 user
36 line 1
36 line 1
37
37
38 8[tip] 946e2bd9c565 2020-01-01 10:01 +0000 test
38 8[tip] 3bdecc1cde0c 2020-01-01 10:01 +0000 test
39 third
39 third
40
40
41 7:-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
41 7:-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
@@ -66,7 +66,7 b' 0 1e4e1b8f71e0 1970-01-12 13:46 +000'
66 line 1
66 line 1
67 line 2
67 line 2
68
68
69 8[tip]:7,-1 946e2bd9c565 2020-01-01 10:01 +0000 test
69 8[tip]:7,-1 3bdecc1cde0c 2020-01-01 10:01 +0000 test
70 third
70 third
71
71
72 7:-1,-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
72 7:-1,-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname>
@@ -128,9 +128,9 b' 0'
128 # issue338
128 # issue338
129 2020-01-01 test <test>
129 2020-01-01 test <test>
130
130
131 * third:
131 * fourth, second, third:
132 third
132 third
133 [946e2bd9c565] [tip]
133 [3bdecc1cde0c] [tip]
134
134
135 1970-01-12 User Name <user@hostname>
135 1970-01-12 User Name <user@hostname>
136
136
@@ -299,7 +299,7 b' other 2'
299 other 3
299 other 3
300 desc--debug: line 1
300 desc--debug: line 1
301 line 2
301 line 2
302 file_adds: third
302 file_adds: fourth third
303 file_adds: second
303 file_adds: second
304 file_adds:
304 file_adds:
305 file_adds: d
305 file_adds: d
@@ -308,7 +308,7 b' file_adds:'
308 file_adds: c
308 file_adds: c
309 file_adds: b
309 file_adds: b
310 file_adds: a
310 file_adds: a
311 file_adds--verbose: third
311 file_adds--verbose: fourth third
312 file_adds--verbose: second
312 file_adds--verbose: second
313 file_adds--verbose:
313 file_adds--verbose:
314 file_adds--verbose: d
314 file_adds--verbose: d
@@ -317,7 +317,7 b' file_adds--verbose:'
317 file_adds--verbose: c
317 file_adds--verbose: c
318 file_adds--verbose: b
318 file_adds--verbose: b
319 file_adds--verbose: a
319 file_adds--verbose: a
320 file_adds--debug: third
320 file_adds--debug: fourth third
321 file_adds--debug: second
321 file_adds--debug: second
322 file_adds--debug:
322 file_adds--debug:
323 file_adds--debug: d
323 file_adds--debug: d
@@ -326,7 +326,7 b' file_adds--debug:'
326 file_adds--debug: c
326 file_adds--debug: c
327 file_adds--debug: b
327 file_adds--debug: b
328 file_adds--debug: a
328 file_adds--debug: a
329 file_dels:
329 file_dels: second
330 file_dels:
330 file_dels:
331 file_dels:
331 file_dels:
332 file_dels:
332 file_dels:
@@ -335,6 +335,7 b' file_dels:'
335 file_dels:
335 file_dels:
336 file_dels:
336 file_dels:
337 file_dels:
337 file_dels:
338 file_dels--verbose: second
338 file_dels--verbose:
339 file_dels--verbose:
339 file_dels--verbose:
340 file_dels--verbose:
340 file_dels--verbose:
341 file_dels--verbose:
@@ -343,8 +344,7 b' file_dels--verbose:'
343 file_dels--verbose:
344 file_dels--verbose:
344 file_dels--verbose:
345 file_dels--verbose:
345 file_dels--verbose:
346 file_dels--verbose:
346 file_dels--verbose:
347 file_dels--debug: second
347 file_dels--debug:
348 file_dels--debug:
348 file_dels--debug:
349 file_dels--debug:
349 file_dels--debug:
350 file_dels--debug:
350 file_dels--debug:
@@ -380,7 +380,34 b' file_mods--debug: c'
380 file_mods--debug:
380 file_mods--debug:
381 file_mods--debug:
381 file_mods--debug:
382 file_mods--debug:
382 file_mods--debug:
383 files: third
383 file_copies%filecopy:
384 file_copies%filecopy:
385 file_copies%filecopy:
386 file_copies%filecopy:
387 file_copies%filecopy:
388 file_copies%filecopy:
389 file_copies%filecopy:
390 file_copies%filecopy:
391 file_copies%filecopy:
392 file_copies%filecopy--verbose:
393 file_copies%filecopy--verbose:
394 file_copies%filecopy--verbose:
395 file_copies%filecopy--verbose:
396 file_copies%filecopy--verbose:
397 file_copies%filecopy--verbose:
398 file_copies%filecopy--verbose:
399 file_copies%filecopy--verbose:
400 file_copies%filecopy--verbose:
401 file_copies%filecopy--debug:
402 file_copies%filecopy--debug:
403 file_copies%filecopy--debug:
404 file_copies%filecopy--debug:
405 file_copies%filecopy--debug:
406 file_copies%filecopy--debug:
407 file_copies%filecopy--debug:
408 file_copies%filecopy--debug:
409 file_copies%filecopy--debug:
410 files: fourth second third
384 files: second
411 files: second
385 files:
412 files:
386 files: d
413 files: d
@@ -389,7 +416,7 b' files: c'
389 files: c
416 files: c
390 files: b
417 files: b
391 files: a
418 files: a
392 files--verbose: third
419 files--verbose: fourth second third
393 files--verbose: second
420 files--verbose: second
394 files--verbose:
421 files--verbose:
395 files--verbose: d
422 files--verbose: d
@@ -398,7 +425,7 b' files--verbose: c'
398 files--verbose: c
425 files--verbose: c
399 files--verbose: b
426 files--verbose: b
400 files--verbose: a
427 files--verbose: a
401 files--debug: third
428 files--debug: fourth second third
402 files--debug: second
429 files--debug: second
403 files--debug:
430 files--debug:
404 files--debug: d
431 files--debug: d
@@ -407,7 +434,7 b' files--debug: c'
407 files--debug: c
434 files--debug: c
408 files--debug: b
435 files--debug: b
409 files--debug: a
436 files--debug: a
410 manifest: 8:8a0d8faab8b2
437 manifest: 8:79c71159cb0a
411 manifest: 7:f2dbc354b94e
438 manifest: 7:f2dbc354b94e
412 manifest: 6:91015e9dbdd7
439 manifest: 6:91015e9dbdd7
413 manifest: 5:4dc3def4f9b4
440 manifest: 5:4dc3def4f9b4
@@ -416,7 +443,7 b' manifest: 3:cb5a1327723b'
416 manifest: 2:6e0e82995c35
443 manifest: 2:6e0e82995c35
417 manifest: 1:4e8d705b1e53
444 manifest: 1:4e8d705b1e53
418 manifest: 0:a0c8bcbbb45c
445 manifest: 0:a0c8bcbbb45c
419 manifest--verbose: 8:8a0d8faab8b2
446 manifest--verbose: 8:79c71159cb0a
420 manifest--verbose: 7:f2dbc354b94e
447 manifest--verbose: 7:f2dbc354b94e
421 manifest--verbose: 6:91015e9dbdd7
448 manifest--verbose: 6:91015e9dbdd7
422 manifest--verbose: 5:4dc3def4f9b4
449 manifest--verbose: 5:4dc3def4f9b4
@@ -425,7 +452,7 b' manifest--verbose: 3:cb5a1327723b'
425 manifest--verbose: 2:6e0e82995c35
452 manifest--verbose: 2:6e0e82995c35
426 manifest--verbose: 1:4e8d705b1e53
453 manifest--verbose: 1:4e8d705b1e53
427 manifest--verbose: 0:a0c8bcbbb45c
454 manifest--verbose: 0:a0c8bcbbb45c
428 manifest--debug: 8:8a0d8faab8b2eee97dcfccabbcb18f413c9d097b
455 manifest--debug: 8:79c71159cb0a1a84add78e7922a1e5e7be34c499
429 manifest--debug: 7:f2dbc354b94e5ec0b4f10680ee0cee816101d0bf
456 manifest--debug: 7:f2dbc354b94e5ec0b4f10680ee0cee816101d0bf
430 manifest--debug: 6:91015e9dbdd76a6791085d12b0a0ec7fcd22ffbf
457 manifest--debug: 6:91015e9dbdd76a6791085d12b0a0ec7fcd22ffbf
431 manifest--debug: 5:4dc3def4f9b4c6e8de820f6ee74737f91e96a216
458 manifest--debug: 5:4dc3def4f9b4c6e8de820f6ee74737f91e96a216
@@ -434,7 +461,7 b' manifest--debug: 3:cb5a1327723bada42f117'
434 manifest--debug: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1
461 manifest--debug: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1
435 manifest--debug: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55
462 manifest--debug: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55
436 manifest--debug: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
463 manifest--debug: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
437 node: 946e2bd9c565394777d74d9669045b39e856e3ea
464 node: 3bdecc1cde0c3d5fa6eaee3d9d9828f6ac468d57
438 node: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
465 node: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
439 node: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f
466 node: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f
440 node: 13207e5a10d9fd28ec424934298e176197f2c67f
467 node: 13207e5a10d9fd28ec424934298e176197f2c67f
@@ -443,7 +470,7 b' node: 10e46f2dcbf4823578cf180f33ecf0b957'
443 node: 97054abb4ab824450e9164180baf491ae0078465
470 node: 97054abb4ab824450e9164180baf491ae0078465
444 node: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
471 node: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
445 node: 1e4e1b8f71e05681d422154f5421e385fec3454f
472 node: 1e4e1b8f71e05681d422154f5421e385fec3454f
446 node--verbose: 946e2bd9c565394777d74d9669045b39e856e3ea
473 node--verbose: 3bdecc1cde0c3d5fa6eaee3d9d9828f6ac468d57
447 node--verbose: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
474 node--verbose: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
448 node--verbose: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f
475 node--verbose: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f
449 node--verbose: 13207e5a10d9fd28ec424934298e176197f2c67f
476 node--verbose: 13207e5a10d9fd28ec424934298e176197f2c67f
@@ -452,7 +479,7 b' node--verbose: 10e46f2dcbf4823578cf180f3'
452 node--verbose: 97054abb4ab824450e9164180baf491ae0078465
479 node--verbose: 97054abb4ab824450e9164180baf491ae0078465
453 node--verbose: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
480 node--verbose: b608e9d1a3f0273ccf70fb85fd6866b3482bf965
454 node--verbose: 1e4e1b8f71e05681d422154f5421e385fec3454f
481 node--verbose: 1e4e1b8f71e05681d422154f5421e385fec3454f
455 node--debug: 946e2bd9c565394777d74d9669045b39e856e3ea
482 node--debug: 3bdecc1cde0c3d5fa6eaee3d9d9828f6ac468d57
456 node--debug: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
483 node--debug: 29114dbae42b9f078cf2714dbe3a86bba8ec7453
457 node--debug: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f
484 node--debug: c7b487c6c50ef1cf464cafdc4f4f5e615fc5999f
458 node--debug: 13207e5a10d9fd28ec424934298e176197f2c67f
485 node--debug: 13207e5a10d9fd28ec424934298e176197f2c67f
@@ -542,7 +569,7 b' tags--debug:'
542 tags--debug:
569 tags--debug:
543 tags--debug:
570 tags--debug:
544 tags--debug:
571 tags--debug:
545 diffstat: 1: +1/-0
572 diffstat: 3: +2/-1
546 diffstat: 1: +1/-0
573 diffstat: 1: +1/-0
547 diffstat: 0: +0/-0
574 diffstat: 0: +0/-0
548 diffstat: 1: +1/-0
575 diffstat: 1: +1/-0
@@ -551,7 +578,7 b' diffstat: 1: +1/-0'
551 diffstat: 1: +4/-0
578 diffstat: 1: +4/-0
552 diffstat: 1: +2/-0
579 diffstat: 1: +2/-0
553 diffstat: 1: +1/-0
580 diffstat: 1: +1/-0
554 diffstat--verbose: 1: +1/-0
581 diffstat--verbose: 3: +2/-1
555 diffstat--verbose: 1: +1/-0
582 diffstat--verbose: 1: +1/-0
556 diffstat--verbose: 0: +0/-0
583 diffstat--verbose: 0: +0/-0
557 diffstat--verbose: 1: +1/-0
584 diffstat--verbose: 1: +1/-0
@@ -560,7 +587,7 b' diffstat--verbose: 1: +1/-0'
560 diffstat--verbose: 1: +4/-0
587 diffstat--verbose: 1: +4/-0
561 diffstat--verbose: 1: +2/-0
588 diffstat--verbose: 1: +2/-0
562 diffstat--verbose: 1: +1/-0
589 diffstat--verbose: 1: +1/-0
563 diffstat--debug: 1: +1/-0
590 diffstat--debug: 3: +2/-1
564 diffstat--debug: 1: +1/-0
591 diffstat--debug: 1: +1/-0
565 diffstat--debug: 0: +0/-0
592 diffstat--debug: 0: +0/-0
566 diffstat--debug: 1: +1/-0
593 diffstat--debug: 1: +1/-0
@@ -670,7 +697,7 b' no user, no domain'
670 no person
697 no person
671 other 1
698 other 1
672 line 1
699 line 1
673 946e2bd9c565
700 3bdecc1cde0c
674 29114dbae42b
701 29114dbae42b
675 c7b487c6c50e
702 c7b487c6c50e
676 13207e5a10d9
703 13207e5a10d9
General Comments 0
You need to be logged in to leave comments. Login now