Mercurial > hg
view tests/test-absorb-phase.t @ 40145:21261fc0fb2b
perf: extract result formatting in its own function
This will make it easier to reuse in another changesets.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 03 Oct 2018 10:46:56 +0200 |
parents | 0b7594ada0db |
children | 31dfa7dac4c9 |
line wrap: on
line source
$ cat >> $HGRCPATH << EOF > [extensions] > absorb= > drawdag=$TESTDIR/drawdag.py > EOF $ hg init $ hg debugdrawdag <<'EOS' > C > | > B > | > A > EOS $ hg phase -r A --public -q $ hg phase -r C --secret --force -q $ hg update C -q $ printf B1 > B $ hg absorb -q $ hg log -G -T '{desc} {phase}' @ C secret | o B draft | o A public