tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 17 Jan 2021 19:22:30 +0100
changeset 46321 d32e7ed81f4f
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
persistent-nodemap: catch the right exception on python On Python 2, Missing file are IOError, not OSError, apparently. Differential Revision: https://phab.mercurial-scm.org/D9809

  $ 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