view tests/test-simple-update @ 6208:c88b9e597588

tests: add --keep-tmp to run-tests.py to debug test environment When set, you can find the working dir of the test run as a uniquely named subdirectory of --tmpdir so you can inspect it.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Wed, 05 Mar 2008 08:00:05 +0100
parents ad3d5b4367cb
children
line wrap: on
line source

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