tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Sat, 29 Nov 2014 19:13:35 -0800
branchstable
changeset 23415 cdbb85489c41
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
hook: raise a more specialized HookAbort exception when a hook fails We need to gracefully handle some aborts for pushkey, especially because it leads to a user-facing crash over the wireprotocols. So we need a more specialized exception to catch.

  $ 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