tests/test-mq-qsave.t
author Simon Sapin <simon.sapin@octobus.net>
Fri, 17 Dec 2021 17:56:13 +0100
changeset 48549 262a38f10427
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
rhg: Accept different "invalid ignore pattern" error message formatting At the moment rhg compiles all patterns into a single big regular expression, so it’s not practical to find out which file the invalid bit of syntax came from. Differential Revision: https://phab.mercurial-scm.org/D11942

  $ 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