tests/test-basic
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 24 Mar 2006 19:51:05 +0100
changeset 2002 4aab906517c6
parent 1933 7544700fd931
child 3736 ad3d5b4367cb
permissions -rwxr-xr-x
Calling revlog.addgroup with an empty changegroup now raises RevlogError. The empty changegroup can be caused by remote servers dying soon after findincoming, and further code in pull assumes (correctly) that there are new changesets.

#!/bin/sh

mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -m test -d "1000000 0"
hg history
hg manifest
hg cat a
hg verify