ikiwiki-makerepo bzr|mercurial srcdir
For git, the repo is created as a bare git repository, and the srcdir is made into a clone of it. (monotone and darcs are similar.)
For svn and cvs, the repo is the centralized repository, and the srcdir is a checkout of it.
For mercurial and bzr, the srcdir is the only repository set up.
For darcs, the master repo's apply hook will be preconfigured to call a ikiwiki wrapper.
Note that for monotone, you are assumed to already have run "mtn genkey" to generate a key.
This creates a bare repository /srv/git/wiki.git/, and sets up /srv/web/wiki to be a clone of it, committing any files that already exist in that directory.