tests/test-mq-qsave.t
author Lucas Moscovicz <lmoscovicz@fb.com>
Mon, 03 Mar 2014 12:54:46 -0800
changeset 20634 f2bb7ba59456
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
revset: changed generatorset code to remove unnecesary function call Removed _nextitem() method, now __iter__ has that logic and __contains__ uses __iter__ to check for membership.

  $ 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