tests/test-simple-update
author Sune Foldager <cryo@cyanite.org>
Sun, 07 Feb 2010 15:23:46 +0100
changeset 10379 a78bfaf988e1
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
add -b/--branch option to clone, bundle, incoming, outgoing, pull, push

#!/bin/sh

set -e

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -m "1"
hg verify

hg clone . ../branch
cd ../branch
hg co
echo bar>>foo
hg commit -m "2"

cd ../test
hg pull ../branch
hg verify
hg co
cat foo
hg manifest --debug