view tests/test-clone @ 5679:1d8ef9fb3e88

Atom/RSS logo display problem using min font size. Using Minimum Font Size = 18 on Firefox, the Atom and RSS logos in a changeset web page look crushed together. No need to specify an absolute width for text; just use sensible padding instead.
author Jesse Glick <jesse.glick@sun.com>
date Thu, 20 Dec 2007 07:05:40 -0500
parents 76c4cadb49fc
children 3b96cefc1b2b
line wrap: on
line source

#!/bin/sh

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 2>/dev/null || echo "a not present"
hg verify

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

# check that we drop the file:// from the path before
# writing the .hgrc
cd ../..
hg clone file://a e
grep 'file:' e/.hg/hgrc

exit 0