comparison tests/test-obsolete.t @ 307:9ac56d36d6ff

obsolete: add latecomer computation and display
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 26 Jun 2012 11:33:39 +0200
parents 8cfa3163dfaa
children 23ef1c71d164
comparison
equal deleted inserted replaced
306:8cfa3163dfaa 307:9ac56d36d6ff
480 adding changesets 480 adding changesets
481 adding manifests 481 adding manifests
482 adding file changes 482 adding file changes
483 added 1 changesets with 1 changes to 1 files (+1 heads) 483 added 1 changesets with 1 changes to 1 files (+1 heads)
484 $ cd .. 484 $ cd ..
485
486 check latecomer detection
487 (make an obsolete changeset public)
488
489 $ cd local
490 $ hg phase --public 11
491 $ hg --config extensions.graphlog=glog glog --template='{rev} - ({phase}) {node|short} {desc}\n'
492 @ 12 - (draft) 6db5e282cb91 add obsol_d'''
493 |
494 | o 11 - (public) 9468a5f5d8b2 add obsol_d''
495 |/
496 o 10 - (public) 2033b4e49474 add obsol_c
497 |
498 o 4 - (public) 725c380fe99b add obsol_c'
499 |
500 o 1 - (public) 7c3bad9141dc add b
501 |
502 o 0 - (public) 1f0dee641bb7 add a
503
504 $ hg log -r 'latecomer()'
505 changeset: 12:6db5e282cb91
506 tag: tip
507 parent: 10:2033b4e49474
508 user: test
509 date: Thu Jan 01 00:00:00 1970 +0000
510 summary: add obsol_d'''
511