tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Wed, 29 Mar 2017 21:13:55 +0900
changeset 31774 7d2cbe11ae48
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
pycompat: introduce identity function as a compat stub I was sometimes too lazy to use 'str' instead of 'lambda a: a'. Let's add a named function for that purpose.

  $ 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