tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 18 Sep 2012 22:58:12 +0200
changeset 17611 910123eac887
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
rebase: extract final changesets cleanup logic in a dedicated function At the end of the rebase, rebased changesets are currently stripped. This behavior will be eventually dropped in favor of obsolescence marker creation. The main rebase function is already big and branchy enough. This changeset move the clean-up logic in a dedicated function before we make it more complex.

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "mq=" >> $HGRCPATH

  $ hg init

  $ echo 'base' > base
  $ hg ci -Ambase
  adding base

  $ hg qnew -mmqbase mqbase

  $ hg qsave
  $ hg qrestore 2
  restoring status: hg patches saved state