tests/test-committer
author john.levon@sun.com
Thu, 11 May 2006 14:32:09 -0700
changeset 2267 d812d91c5a84
parent 2104 f1085d34d20d
child 3461 8b55c0ba8048
permissions -rwxr-xr-x
Force editor to appear for an 'hg backout' if a message or logfile aren't supplied. Pre-fill the commit message with the changeset being backed out. Fixes bug 238.

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