Merge branch 'master'
[ikiwiki] / doc / ikiwiki-makerepo.mdwn
1 # NAME
2
3 ikiwiki-makerepo - check an ikiwiki srcdir into revision control
4
5 # SYNOPSIS
6
7 ikiwiki-makerepo svn|git|monotone|darcs srcdir repository
8
9 ikiwiki-makerepo bzr|mercurial|darcs srcdir
10
11 # DESCRIPTION
12
13 `ikiwiki-makerepo` injects a `srcdir` directory, containing an ikiwiki wiki,
14 into a `repository` that it creates. The repository can be created using
15 any of a variety of revision control systems.
16
17 Note that for mercurial and bzr, the srcdir is converted into a
18 repository. There is no need to have a separate repository with mercurial
19 or bzr.
20
21 For darcs, the second (one-argument) form turns the given srcdir into a
22 darcs master repository with the (new) srcdir inside. Adjust your ikiwiki.setup
23 according to the command output! Also, the master repo's apply hook will be
24 preconfigured to call a (hypothetical) ikiwiki wrapper. The command
25 reports the relevant file. Adjust it as needed or remove it if you don't use
26 the cgi script.
27
28 Note that for monotone, you are assumed to already have run "mtn genkey"
29 to generate key.
30
31 # AUTHOR
32
33 Joey Hess <joey@ikiwiki.info>
34
35 Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care