2007-11-27 06:34:17 +01:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
ikiwiki-makerepo - check an ikiwiki srcdir into revision control
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2009-09-10 22:22:58 +02:00
|
|
|
ikiwiki-makerepo git|svn|monotone|darcs|cvs srcdir repository
|
2007-11-27 07:51:26 +01:00
|
|
|
|
2009-04-04 23:53:29 +02:00
|
|
|
ikiwiki-makerepo bzr|mercurial srcdir
|
2007-11-27 06:34:17 +01:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
`ikiwiki-makerepo` injects a `srcdir` directory, containing an ikiwiki wiki,
|
2009-01-02 20:11:41 +01:00
|
|
|
into a `repository` that it creates. The repository can be created using
|
|
|
|
any of a variety of revision control systems.
|
2007-11-27 06:34:17 +01:00
|
|
|
|
2009-01-02 20:11:41 +01:00
|
|
|
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.
|
2007-11-27 06:34:17 +01:00
|
|
|
|
2009-04-04 23:53:29 +02:00
|
|
|
For darcs, the master repo's apply hook will be preconfigured to call a
|
|
|
|
ikiwiki wrapper.
|
2008-10-16 01:38:21 +02:00
|
|
|
|
2009-01-02 20:11:41 +01:00
|
|
|
Note that for monotone, you are assumed to already have run "mtn genkey"
|
2009-04-04 23:54:32 +02:00
|
|
|
to generate a key.
|
2008-08-22 06:22:02 +02:00
|
|
|
|
2010-05-26 17:24:08 +02:00
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
2007-11-27 06:34:17 +01:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <joey@ikiwiki.info>
|
|
|
|
|
|
|
|
Warning: this page is automatically made into ikiwiki-makerepo's man page, edit with care
|