tests/test-mq-qsave.t
author Pulkit Goyal <7895pulkit@gmail.com>
Sun, 01 Jul 2018 01:00:39 +0530
changeset 38518 cf24f678adda
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
rebase: check whether the rebasestate exists or not a bit early Converted the else part into `if True` because that part will soon be under a except part. Differential Revision: https://phab.mercurial-scm.org/D3876

  $ 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