tests/test-simple-update
author Bryan O'Sullivan <bos@serpentine.com>
Mon, 26 Nov 2007 14:01:31 -0800
changeset 5553 ee80591f5636
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
convert: save hg revision during a convert This breaks hg->hg hash roundtripping, but that was fragile, didn't work reliably, and hence arguably of little value.

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