]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki-makerepo.mdwn
only darcs add files not yet in version control
[ikiwiki.git] / 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 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 a svn, git, or
15 mercurial repository.
16
17 Note that for mercurial, the srcdir is converted into a mercurial
18 repository. There is no need to have a separate repository with mercurial.
19
20 For darcs, the second (one-argument) form turns the given srcdir into a
21 darcs master repository with the (new) srcdir inside. Adjust your ikiwiki.setup
22 according to the command output! Also, the master repo's apply hook will be
23 preconfigured to call a (hypothetical) ikiwiki wrapper. The command
24 reports the relevant file. Adjust it as needed or remove it if you don't use
25 the cgi script.
26
27 Note that for monotone, you are assumed to already have run "mtn genkey" to generate
28 key.
29
30 # AUTHOR
31
32 Joey Hess <joey@ikiwiki.info>
33
34 Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care