tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 28 Dec 2012 00:13:32 +0100
changeset 18166 3a2e810dd3d8
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
branchmap: improve invalid cache message when reading This factors out the generation of the message. This helps future error reporting when reading cache for filtered repository.

  $ 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