tests/test-simple-update
author Matt Mackall <mpm@selenic.com>
Fri, 23 Mar 2007 00:12:28 -0500
changeset 4273 8185a1ca8628
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
tags: require -f to replace an existing tag based on a patch from Johan Herland <johherla@online.no>

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