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