tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 09 Oct 2014 20:15:41 -0700
changeset 22859 513c0ba61db8
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
addset: do lazy sorting The previous implementation was consuming the whole revset when asked for any sort. The addset class is now doing lazy sorting like all other smarset classes. This has no significant impact in the benchmark as-is. But this is important to later change.

  $ 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