Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-mq-qnew-twice @ 2710:ca97be5babf8
mq: do not allow to qnew a patch twice
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 27 Jul 2006 16:08:56 -0700 |
parents | |
children | 85070b784896 |
line wrap: on
line diff
new file mode 100755 --- /dev/null +++ b/tests/test-mq-qnew-twice @@ -0,0 +1,13 @@ +#!/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