view tests/test-mq-qnew-twice @ 3178:b3e103c388fc

mq: don't write applied patches into series twice in restore
author Brendan Cully <brendan@kublai.com>
date Wed, 27 Sep 2006 14:50:20 -0700
parents 61fcd9fac434
children
line wrap: on
line source

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