view tests/test-mq-qsave.t @ 50153:98890baf324e

large-files: use a `changing_files` context when initializing the dirstate We are obviously mutating the dirstate, so lets scope this mutation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 22 Feb 2023 04:00:30 +0100
parents 55c6ebd11cb9
children
line wrap: on
line source

  $ 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