tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Wed, 17 Sep 2014 21:15:43 +0900
changeset 22474 9da0ef363861
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
formatter: extract function that encode values to json string This is the stub for tuple support, which will be used to encode ctx.date() in the same manner as jsonchangeset printer.

  $ 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