tests/test-mq-qsave
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 02 Sep 2006 23:26:10 +0200
changeset 3034 3acb76f0124d
parent 2976 61fcd9fac434
permissions -rwxr-xr-x
clone: simplifying dest repo creation since creating a repo raises an exception if the repo already exists, there's no need to try to create one. add some test for repo creation when the destination exists

#!/bin/sh

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

hg init a
cd a

echo 'base' > base
hg ci -Ambase -d '1 0'

hg qnew -mmqbase mqbase

hg qsave
hg qrestore 2