tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 13 Jan 2018 13:33:55 +0900
changeset 35623 f56f8abbeaf1
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
largefiles: convert EOL of hgrc before appending to bytes IO Text IO is useless on Python 3 as it must be a unicode stream.

  $ 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