tests/test-committer
author Brendan Cully <brendan@kublai.com>
Thu, 03 Aug 2006 11:09:12 -0700
changeset 2780 ee48e5ef8753
parent 2104 f1085d34d20d
child 3466 8b55c0ba8048
permissions -rwxr-xr-x
Use StatusEntry class instead of repeated status line parsing. This small cleanup abstracts out repeated instances of (rev, name) = applied[x].split(':'), making it easier to use applied or change the status file format.

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