tests/test-simple-update
author Brendan Cully <brendan@kublai.com>
Fri, 06 Jul 2007 09:15:17 -0700
changeset 4832 4f86c58c6c56
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
hgwebdir: do not walk up the given path looking for a repository. It is there or it isn't.

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