tests/test-mq-qsave.t
author Jun Wu <quark@fb.com>
Tue, 09 Aug 2016 16:45:28 +0100
changeset 29773 39149b6036e6
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
dispatch: split global error handling out so it can be reused We may want a similar error handling at worker.py. This patch extracts the error handling logic to "callcatch" so it can be reused.

  $ 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