aboutsummaryrefslogtreecommitdiff
path: root/doc/ikiwiki-makerepo.mdwn
blob: acb1211de76f787e800f58b43b47bdc9a0d56c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# NAME

ikiwiki-makerepo - check an ikiwiki srcdir into revision control

# SYNOPSIS

ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repository

ikiwiki-makerepo bzr|mercurial srcdir

# DESCRIPTION

`ikiwiki-makerepo` injects a `srcdir` directory, containing an ikiwiki wiki,
into a `repository` that it creates. The repository can be created using
any of a variety of revision control systems.

Note that for mercurial and bzr, the srcdir is converted into a
repository. There is no need to have a separate repository with mercurial
or bzr.

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.


# EXAMPLE 

`ikiwiki-makerepo git /var/www/wiki /home/user/wiki/`

The above command creates a new git repo in /home/user/wiki as well as a new git repo in the /var/www/wiki directory. 
It then initializes the /home/user/wiki git repo and makes the /var/www/wiki a clone. 

# AUTHOR

Joey Hess <joey@ikiwiki.info>

Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care