====== Setup trac ======
export PYTHONPATH=~/lib/python2.5
easy_install -d ~/lib/python2.5 http://svn.edgewall.org/repos/trac/branches/0.11-stable
cd lib/python2.5/
ls
mv tracd trac-admin ~/bin/
====== Init env ======
cd apps
mkdir trac
trac-admin clinic initenv
tracd --port 8000 ./clinic
echo "tracd --port 8000 ./clinic" > start.sh
====== Install mercurial plugins ======
svn co http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin-0.11
cd mercurial-plugin-0.11/
python setup.py bdist_egg
cp TracMercurial-0.11.0.3-py2.5.egg ~/apps/trac/clinic/plugins/
====== Configure trac ======
cd conf/
vi trac.ini
[components]
tracext.hg.* = enabled
[trac]
repository_type = hg
repository_dir = /path/to/my/hg/repository
[hg]
# -- Show revision number in addition to the changeset hash
show_rev = yes
# -- Changeset hash format
node_format = short
# hex: Show the full SHA1 hash
# short: Show a shortened hash for the changesets