tests/test-mq-qnew-twice
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 11 Jul 2007 17:40:41 -0300
changeset 4861 74f36b1027f4
parent 2976 61fcd9fac434
permissions -rwxr-xr-x
archive: use util.opener when archiving files. This simplifies the code a bit and makes it easier to support symlinks.

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