tests/test-mq-qsave.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 04 Jun 2015 21:55:56 -0400
changeset 25438 7ce5a3230441
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
cat: replace match.bad() monkey patching with match.badmatch() No known issues with the previous code since it restored the original method, but this is cleaner.

  $ 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