tests/test-absorb-phase.t
author Benjamin Peterson <benjamin@python.org>
Thu, 13 Dec 2018 23:20:28 -0800
changeset 40997 038108a9811c
parent 40190 31dfa7dac4c9
permissions -rw-r--r--
upgrade: correct implementation of improvement.__ne__ The "not" operator binds more closely than "==": >>> not False == False False

  $ 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