tests/test-mq-qnew-twice
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 16 Oct 2006 18:01:25 -0300
changeset 3418 7012c889e8f2
parent 2976 61fcd9fac434
permissions -rwxr-xr-x
portability fixes for some tests Apparently the ls on OS X 10.3.9 exits with success even if the file given on the command line doesn't exist

#!/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