tests/test-clone
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Jul 2005 22:31:45 +0100
changeset 807 5e779f96edb0
parent 800 ec85f9e6f3b1
child 808 8f5637f0a0c0
permissions -rwxr-xr-x
Include tests (or possibly maps) ending in numbers in MANIFEST, too.

#!/bin/bash

mkdir a
cd a
hg init
echo a > a
hg add a
hg commit -m test -d '0 0'

# Default operation
hg clone . ../b
cd ../b
cat a
hg verify

# No update
hg clone -U . ../c
cd ../c
cat a
hg verify

# Default destination
mkdir ../d
cd ../d
hg clone ../a
cd a
hg cat a