view tests/test-mq-qsave.t @ 40775:4e02f25f31c6

match: test for overflow error in pattern If a single pattern is too large to handle, we raise an exception. This case is now doctested.
author Boris Feld <boris.feld@octobus.net>
date Thu, 22 Nov 2018 17:16:05 +0100
parents b701610f6c56
children 55c6ebd11cb9
line wrap: on
line source

  $ 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