= Installing =
# Checkout the source.
$ svn co <url> mergebot-0.11
$ cd mergebot-0.11
$ python setup.py bdist_rpm
$ su -c "rpm --install dist/TracMergeBot*.noarch.rpm"
# Create the mergebot work area
$ mkdir <mytracenv>/mergebot
$ chown <webserver>:<webserver> <mytracenv>/mergebot

Enable mergebot in the [components] section:
mergebot.web_ui.* = enabled

If you want to use the ticket workflow features you will also need to change
[components]
mergebot.ticket_actions.* = enabled
[ticket]
workflow = ConfigurableTicketWorkflow,MergebotActionController
Restart your webserver.
And then use "mergebot" in the .operations section of the relevant ticket actions.

# Add needed entries to trac.ini:
$ trac-admin <mytracenv> upgrade
Then edit <mytracenv>/conf/trac.ini again.
In particular, look for the [mergebot] section that the upgrade added, and be sure the repository_url is set.
Give MERGEBOT_* permissions to your users.

Be sure you have a version named 'trunk' -- and you will likely want to make that the default.
Mergebot assumes that each component is the name of a top-level directory in the svn repository, and that the versions are 'trunk', a ticket number with a preceeding '#', or a release name with a corresponding 'branches/release-XYZ' directory.

