tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Sun, 07 Jun 2015 17:26:34 -0700
changeset 25498 7a5335ed7e1a
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
progress: move the singleton logic to the ui module The use of a singleton for all of progress handling is debatable (because config may vary). However this is how the extension has been doing it so far. We move that code into the ui module because this is where is should belong when progress is moved into core.

  $ 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