view tests/test-mq-qsave.t @ 51150:8b3cc36009ec stable

tests: do not fail tests in a state with uncommitted .py file removal The problem is that [hg locate] lists removed files too. We use [hg files] instead because that does not list removed files.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Mon, 04 Dec 2023 17:20:31 +0000
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