Thermostat/MercurialGettingStarted

From IcedTea

Jump to: navigation, search

Thermostat Home

Useful Mercurial Configuration for Thermostat Development

Here is an example ~/.hgrc file. This should allow you to email your committed changes (tip) to the thermostat list for review. It also enables the pager extension (for paged hg log) and rebase extension. If you are new to Mercurial this should get you started.

[extensions]
purge =
rebase =
hgext.patchbomb =
pager =
[pager]
pager = less
[paths]
upstream = http://icedtea.classpath.org/hg/thermostat
# committer name
[ui]
username = John Doe <jdoe@example.com>
# aliases
[alias]
email = email -r tip -a -c 
# Sending patch emails
[email]
to = thermostat@icedtea.classpath.org
method = smtp
from = John Doe <jdoe@example.com>
[smtp]
host = smtp.example.com

Want so send review email?

$ hg commit  # commit your changes
$ hg email   # done :)
Personal tools