tests/test-mq-qnew-twice
author Brendan Cully <brendan@kublai.com>
Thu, 14 Sep 2006 19:24:00 -0700
changeset 3092 25857e00af8e
parent 2976 61fcd9fac434
permissions -rwxr-xr-x
cat: default to working dir parent instead of tip This introduces a defaultrev function that chooses the working dir parent if a revision isn't specified, and uses it in several places.

#!/bin/sh

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

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

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

exit 0