Here is a sample configuration file for Mercurial, that can be used when working with OpenSAF development. You need to uncomment the commented-out lines (beginning with a hash symbol) and change the values of those lines to something reasonable. Then store the text in a file with the name .hgrc in your home directory.
[ui]
#username = Your Name <your.email.address@your.company>
[extensions]
hgext.mq =
hgext.patchbomb =
hgext.imerge=!
hgext.purge =
hgext.transplant =
hgext.rebase =
hgext.color =
[email]
method = smtp
#from = Your Name <your.email.address@your.company>
[smtp]
#host = your.outgoing.mail.server
#username = your_smtp_user_id
[diff]
git=1
nodates=1
showfunc=1
Wiki: Development Process
Wiki: Home
Wiki: Mercurial patch queue
Wiki: development tools