tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Sun, 13 Mar 2016 23:27:27 +0900
changeset 28566 34f798bec3dc
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
tests: add test for "log -r wdir() -p" (issue4871) The issue has been fixed by 93bcc73df8d5, "cmdutil.changeset_printer: pass context into showpatch()". This patch adds test to prevent future regression.

  $ 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