Example

For instance:

./tickets.py -o /tmp/myissues.zip --tracdir /srv/trac/myproject

Importing wiki

Wiki with BitBucket is managed as a repository. Here, this program
will replay all the Trac wiki history into this repository. For the
moment, only mercurial is supported, but adding git support should be
trivial.

You have to place your wiki repository working directory into the
right state so that new commits will be added at the place you want.
Most of the time, doing nothing is fine, but if you want to restart from an
empty wiki, you may need to do something like this in your wiki repository: