tests/test-absorb-phase.t
author Manuel Jacob <me@manueljacob.de>
Mon, 01 Jun 2020 14:20:13 +0200
changeset 44959 38e3df9ff1e7
parent 40190 31dfa7dac4c9
permissions -rw-r--r--
sslutil: stop storing protocol and options for SSLContext in settings dict Call protocolsettings() where its return values are needed.

  $ 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 -aq

  $ hg log -G -T '{desc} {phase}'
  @  C secret
  |
  o  B draft
  |
  o  A public