tests/test-mq-qgoto
author Eric Hopper <hopper@omnifarious.org>
Thu, 17 May 2007 20:09:49 -0700
changeset 4441 32ea809e5bd1
parent 4432 905397be7688
permissions -rwxr-xr-x
Alter test to test import --exact to make sure it works with branches.

#!/bin/sh

echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH

hg init a
cd a
echo a > a
hg ci -Ama

hg qnew a.patch
echo a >> a
hg qrefresh

hg qnew b.patch
echo b > b
hg add b
hg qrefresh

hg qnew c.patch
echo c > c
hg add c
hg qrefresh

hg qgoto a.patch
hg qgoto c.patch
hg qgoto b.patch