tests/test-simple-update
author Henri Wiechers <hwiechers@gmail.com>
Mon, 21 Dec 2009 23:01:46 +0200
changeset 10121 ac212bcc852b
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
test-help: improve test coverage Adds a test for using the help option with the version option. Extends test coverage of commands.help_ by another 2 lines.

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