comparison tests/test-discovery-obshashrange.t @ 2386:47ee05940d7d

tests: small test update This is a bit clearer.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 17 May 2017 11:58:48 +0200
parents fab59e2cb05f
children 6be71b8f3408
comparison
equal deleted inserted replaced
2385:fab59e2cb05f 2386:47ee05940d7d
437 pulling from ssh://user@dummy/server 437 pulling from ssh://user@dummy/server
438 no changes found 438 no changes found
439 OBSEXC: looking for common markers in 7 nodes 439 OBSEXC: looking for common markers in 7 nodes
440 OBSEXC: request obsmarkers for 2 common nodes 440 OBSEXC: request obsmarkers for 2 common nodes
441 2 new obsolescence markers 441 2 new obsolescence markers
442 $ hg debugobshashrange --subranges --rev 'desc("r3")' -R ../server
443 rev node index size depth obshash
444 3 2dc09a01254d 0 4 4 8932bf980bb4
445 3 2dc09a01254d 2 2 4 ce1937ca1278
446 1 66f7d451a68b 0 2 2 327c7dd73d29
447 2 01241442b3c2 2 1 3 1ed3c61fb39a
448 0 1ea73414a91b 0 1 1 000000000000
449 3 2dc09a01254d 3 1 4 26f996446ecb
450 1 66f7d451a68b 1 1 2 327c7dd73d29
451 $ hg debugobshashrange --subranges --rev 'desc("r3")'
452 rev node index size depth obshash
453 3 2dc09a01254d 0 4 4 8932bf980bb4
454 3 2dc09a01254d 2 2 4 ce1937ca1278
455 1 66f7d451a68b 0 2 2 327c7dd73d29
456 2 01241442b3c2 2 1 3 1ed3c61fb39a
457 0 1ea73414a91b 0 1 1 000000000000
458 3 2dc09a01254d 3 1 4 26f996446ecb
459 1 66f7d451a68b 1 1 2 327c7dd73d29
442 $ hg blackbox 460 $ hg blackbox
443 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' (glob) 461 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' (glob)
444 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob) 462 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> alias 'debugobsolete' expands to 'debugobsolete -d '0 0'' (glob)
445 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob) 463 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> writing .hg/cache/tags2-visible with 0 tags (glob)
446 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' exited 0 after *.?? seconds (glob) 464 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobsolete --rev '::6' exited 0 after *.?? seconds (glob)
455 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r6)' exited 0 after *.?? seconds (glob) 473 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r6)' exited 0 after *.?? seconds (glob)
456 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 (glob) 474 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 (glob)
457 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 11o) (glob) 475 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (8r, 11o) (glob)
458 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 2o) (glob) 476 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obscache in *.???? seconds (0r, 2o) (glob)
459 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 exited 0 after *.?? seconds (glob) 477 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 exited 0 after *.?? seconds (glob)
478 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' (glob)
479 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'desc("r3")' exited 0 after *.?? seconds (glob)
460 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob) 480 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> blackbox (glob)
461 $ rm .hg/blackbox.log 481 $ rm .hg/blackbox.log
462 $ hg debugobshashrange --subranges --rev 'heads(all())'
463 rev node index size depth obshash
464 7 f69452c5b1af 0 7 7 000000000000
465 5 45f8b879de92 0 6 6 b405cb0bdc2b
466 3 2dc09a01254d 0 4 4 8932bf980bb4
467 7 f69452c5b1af 4 3 7 000000000000
468 3 2dc09a01254d 2 2 4 ce1937ca1278
469 5 45f8b879de92 4 2 6 9c26c72819c0
470 1 66f7d451a68b 0 2 2 327c7dd73d29
471 6 c8d03c1b5e94 4 2 6 ec8a3e92c525
472 2 01241442b3c2 2 1 3 1ed3c61fb39a
473 0 1ea73414a91b 0 1 1 000000000000
474 3 2dc09a01254d 3 1 4 26f996446ecb
475 5 45f8b879de92 5 1 6 1a0c08180b65
476 1 66f7d451a68b 1 1 2 327c7dd73d29
477 4 bebd167eb94d 4 1 5 20a2cc572e4b
478 6 c8d03c1b5e94 5 1 6 446c2dc3bce5
479 7 f69452c5b1af 6 1 7 000000000000
480 482
481 Adding prune markers on existing changeset 483 Adding prune markers on existing changeset
482 ------------------------------------------ 484 ------------------------------------------
483 485
484 $ hg -R ../server debugobsolete --record-parents `getid 'desc(foo)'` 486 $ hg -R ../server debugobsolete --record-parents `getid 'desc(foo)'`
487 no changes found 489 no changes found
488 OBSEXC: looking for common markers in 5 nodes 490 OBSEXC: looking for common markers in 5 nodes
489 OBSEXC: request obsmarkers for 1 common nodes 491 OBSEXC: request obsmarkers for 1 common nodes
490 1 new obsolescence markers 492 1 new obsolescence markers
491 $ hg blackbox 493 $ hg blackbox
492 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' (glob)
493 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> debugobshashrange --subranges --rev 'heads(all())' exited 0 after *.?? seconds (glob)
494 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(foo)' (glob) 494 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(foo)' (glob)
495 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(foo)' exited 0 after *.?? seconds (glob) 495 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(foo)' exited 0 after *.?? seconds (glob)
496 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' (glob) 496 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' (glob)
497 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' exited 0 after *.?? seconds (glob) 497 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> log --hidden --template '{node}\n' --rev 'desc(r4)' exited 0 after *.?? seconds (glob)
498 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob) 498 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> pull -r bebd167eb94d257ace0e814aeb98e6972ed2970d (glob)