tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Sun, 22 Mar 2020 18:40:04 +0900
changeset 44586 0424a9134bcf
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
osutil: move declaration to top of the scope Otherwise the build would fail with -Werror=declaration-after-statement.

  $ 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