tests/test-mq-qsave
author Brodie Rao <brodie@bitheap.org>
Fri, 17 Sep 2010 10:21:02 -0500
branchstable
changeset 12320 40c40c6f20b8
parent 2990 61fcd9fac434
permissions -rwxr-xr-x
revset: handle re.compile() errors in grep() Raise error.ParseError instead of allowing re.error to bubble up.

#!/bin/sh

echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH

hg init a
cd a

echo 'base' > base
hg ci -Ambase -d '1 0'

hg qnew -mmqbase mqbase

hg qsave
hg qrestore 2