tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Wed, 18 Feb 2015 22:53:53 +0900
changeset 24236 de14c3972c2f
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
sortdict: have update() accept either dict or iterable of key/value pairs Future patches will make the templater store a sorted dict in the _hybrid object. sortdict should be constructed from a sorted list.

  $ 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