tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 16 Nov 2022 15:39:10 +0100
branchstable
changeset 49605 b3480822a251
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
matcher: do not prepend '.*' to pattern using ^ after flags Since the previous commit (fixing wider issue), the code generated strange regex. This is now fixed and tested.

  $ 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