tests/test-simple-update
author Henrik Stuart <hg@hstuart.dk>
Wed, 08 Jul 2009 18:35:13 +0200
changeset 9108 eef406165507
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
url: fix use of non-int port in https connections (issue1725) Versions of Python before 2.6 cannot automatically convert a given port number to an integer, so we add a conversion to coerce the given input to an int.

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