tests/test-clone
author mpm@selenic.com
Mon, 01 Aug 2005 23:17:22 -0800
changeset 816 8674b7803714
parent 814 0902ffece4b4
child 834 78a9f95766dc
child 836 1fe3b14c7044
child 839 9c918287d10b
permissions -rwxr-xr-x
Warn on pushing unsynced repo or adding new heads By popular demand

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