tests/test-mq-qnew-twice
author Vadim Gelfer <vadim.gelfer@gmail.com>
Wed, 02 Aug 2006 06:36:27 -0700
changeset 2765 0327bd1c831c
parent 2713 85070b784896
child 2976 61fcd9fac434
permissions -rwxr-xr-x
mq: print matches if patch name not unique

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