view tests/test-clone @ 615:ad2999fad721

Output file of 'export' is opened as binary (other OS) # HG changeset patch # User thananck@yahoo.com # Node ID 7a240687674e6cf5a8dfd45973d7e3978b89af79 # Parent d2994b5298fb20f87dc1d4747635b280db3c0526 Output file of 'export' is opened as binary (other OS)
author thananck@yahoo.com
date Mon, 04 Jul 2005 12:22:21 -0800
parents 96ff7dae94f7
children 7e4843b7efd2
line wrap: on
line source

#!/bin/bash

set -x
mkdir a
cd a
hg init
echo a > a
hg add a
hg commit -t test -u 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