view tests/test-committer @ 2719:532809ba1db5

hg.py: add islocal() and defaultdest() functions, refactor islocal tells if a repo or url is local. defaultdest returns default path for clone if explicit path not given. clone can now take repo or url as source
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 28 Jul 2006 10:46:25 -0700
parents f1085d34d20d
children 8b55c0ba8048
line wrap: on
line source

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