diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-04 18:03:13 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-04 18:03:13 -0500 |
commit | 2e7110a31815c500ff6de321d5c83c3c5529de53 (patch) | |
tree | 45ef1c83ff26412d0627ee9f6a0aace4151c4dfd /etckeeper.1 | |
parent | 788ae5a34c0fad2e3c0788a745400a138d735195 (diff) |
updates for mercurial
Changed the templates file to not hardcode 'git', and manually unfuzzied
all translations except for Vietnamese, which stumped me. A few
translations _may_ read incorrectly when VCS=hg, most should be ok.
Updated git-specific documentation, but left the tutorial git-specific.
Rename more conffiles. Joy oh, joy.
Update dependencies.
Add some more documentation about etckeeper.conf.
Diffstat (limited to 'etckeeper.1')
-rw-r--r-- | etckeeper.1 | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/etckeeper.1 b/etckeeper.1 index 6d00cdb..cd31b5d 100644 --- a/etckeeper.1 +++ b/etckeeper.1 @@ -1,24 +1,25 @@ .\" -*- nroff -*- .TH ETCKEEPER 1 "" "" "" .SH NAME -etckeeper \- store /etc in git +etckeeper \- store /etc in git or mercurial .SH SYNOPSIS .B etckeeper command [directory] .SH DESCRIPTION -etckeeper manages /etc be stored in a git repository. By default each -of the commands operates on /etc, but a different directory can be -specified as a parameter to operate on a clone of the /etc repository +etckeeper manages /etc be stored in a git or mercurial repository. By +default each of the commands operates on /etc, but a different directory +can be specified as a parameter to operate on a clone of the /etc repository located elsewhere. .SH COMMANDS .TP .B init This is the only command you typically need to run by hand. It initialises -and sets up a git repository. Typically this is run in /etc once when -starting to use etckeeper on a machine. It can also be used to initialise +and sets up a git or mercurial repository (depending on the VCS setting in +/etc/etckeeper/etckeeper.conf). Typically this is run in /etc once +when starting to use etckeeper on a machine. It can also be used to initialise a clone of the /etc repository located elsewhere. .TP .B pre-commit -This is called as a git pre-commit hook. It stores metadata and does sanity +This is called as a pre-commit hook. It stores metadata and does sanity checks. .TP .B pre-install @@ -30,5 +31,10 @@ packages are installed, upgraded, etc. This is called by apt's DPkg::Post-Invoke hook, or by equivilant hooks of other package managers. It commits changes made by packages into the repository. (You can also call this by hand after running dpkg by hand.) +.SH FILES +/etc/etckeeper/etckeeper.conf is the configuration file. + +/etc/etckeeper also contains directories containing the programs that are +run for each of the above commands. .SH AUTHOR Joey Hess, <joey@kitenet.net>. |