tests/test-simple-update
author Patrick Mezard <pmezard@gmail.com>
Tue, 17 Jul 2007 23:35:24 +0200
changeset 4923 59b8ff35c4ed
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
patch: patches should be read and written in binary mode when possible.

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