tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 22 Feb 2023 18:07:34 +0100
branchstable
changeset 50171 d956ceed3289
parent 49621 55c6ebd11cb9
permissions -rw-r--r--
transaction: tests we don't overwrite branch changes on abort We actually do not! Great. …Why are doing a backup of the `branch` files at transaction creation then‽

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "mq=" >> $HGRCPATH

  $ hg init repo
  $ cd repo

  $ echo 'base' > base
  $ hg ci -Ambase
  adding base

  $ hg qnew -mmqbase mqbase

  $ hg qsave
  $ hg qrestore 2
  restoring status: hg patches saved state