tests/test-mq-qnew-twice
author Vadim Gelfer <vadim.gelfer@gmail.com>
Fri, 18 Aug 2006 21:03:29 -0700
changeset 2953 3d5547845158
parent 2713 85070b784896
child 2976 61fcd9fac434
permissions -rwxr-xr-x
fix issue 322. do not allow to add files that shadow files or directories already in dirstate.

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