tests/test-mq-qsave.t
author Martijn Pieters <mjpieters@fb.com>
Fri, 04 Mar 2016 14:44:32 +0000
changeset 28375 97cb1aeaca78
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
graphmod: refactor state handling Move ASCII graph state to a dictionary, to clarify what is being tracked. Move the 'seen' state (tracking currently active edges) into this structure.

  $ 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