tests/test-mq-qsave.t
author Lucas Moscovicz <lmoscovicz@fb.com>
Fri, 07 Feb 2014 13:44:57 -0800
changeset 20691 c1f666e27345
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
revset: optimized _revancestors method based on order of revisions If the revisions for which the ancestors are required are in descending order, it lazily loads them into a heap to be able to yield values faster.

  $ 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