Also added Vim modeline for proper highligting and updated .gitignore to
ignore the generated file.
# Ignore generated files.
gitconfig
+hgrc
# This is the Mercurial configuration file.
+dnl Load m4 macros.
+include(../lib.m4)
+
[ui]
username = Simon Ruderich <simon@ruderich.org>
ignore = ~/.hgignore
# Necessary for hg view.
[hgk]
+IF(OS, debian)
+path = /usr/share/mercurial/hgk
+FI
+IF(OS, darwin)
path = /opt/local/share/mercurial/contrib/hgk
+FI
[hooks]
# Precommit hook which runs tests if they exist.
[pager]
pager = colordiff | less
ignore = record, qrecord
+
+# vim: ft=cfg
fi
if installed hg; then
+ generate m4 hgrc -DOS=`os`
link hgrc ~/.hgrc
link hgignore ~/.hgignore
fi