tests/test-committer
author Andrew Thompson <andrewkt@aktzero.com>
Thu, 20 Apr 2006 16:33:49 +0200
changeset 2104 f1085d34d20d
child 3461 8b55c0ba8048
permissions -rwxr-xr-x
Add tests/test-committer This checks to see if the EMAIL environment variable is being used for commit.

#!/bin/sh

unset HGUSER
EMAIL="My Name <myname@example.com>"
export EMAIL

hg init test
cd test
touch asdf
hg add asdf
hg commit -d '1000000 0' -m commit-1
hg tip