tests/test-mq-qsave.t
author Siddharth Agarwal <sid0@fb.com>
Fri, 12 Feb 2016 14:50:10 -0800
changeset 28109 b892e424f88c
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
hook: don't crash on syntax errors in python hooks We had some real-world cases where syntax errors in Python hooks would crash the whole process and leave it in an indeterminate state. Handle those better.

  $ 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