tests/test-mq-qsave.t
author Jun Wu <quark@fb.com>
Mon, 20 Mar 2017 15:11:18 -0700
changeset 31561 312e62640798
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
setup: detect statfs statfs is not defined by POSIX but is available in various systems to help decide filesystem type. Let's detect it and set the macro HAVE_STATFS.

  $ 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