tests/test-mq-qsave.t
author Idan Kamara <idankk86@gmail.com>
Mon, 25 Jul 2011 22:19:28 +0300
changeset 14939 b4c06b97dfe0
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
cmdserver: repo.invalidate() on every runcommand This will trigger the filecache and recreate every cached property that was changed by something other than this cmdserver instance (e.g. by running 'hg commit' at the cmdline).

  $ 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