tests/test-mq-qnew-twice
author Brendan Cully <brendan@kublai.com>
Tue, 15 Aug 2006 11:28:50 -0700
changeset 2907 b70740aefa4d
parent 2713 85070b784896
child 2976 61fcd9fac434
permissions -rwxr-xr-x
Unify mq and hg patch invocation. This makes patch a little less verbose by default, so the tests had to be updated.

#!/bin/sh

HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
echo "[extensions]" >> $HGTMP/.hgrc
echo "mq=" >> $HGTMP/.hgrc

hg init a
cd a
hg qnew first.patch
hg qnew first.patch

touch ../first.patch
hg qimport ../first.patch

exit 0