Mercurial > hg
view tests/test-absorb-phase.t @ 39730:65b39c556c6d
py3: encode the name to bytes before using in revsetpredicate()
Differential Revision: https://phab.mercurial-scm.org/D4677
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Thu, 20 Sep 2018 18:36:33 +0300 |
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