hgbook

view en/examples/tour.help.out @ 548:5ffee9123bbf

Fix most remaining examples
author Bryan O'Sullivan <bos@serpentine.com>
date Thu Jan 29 22:46:56 2009 -0800 (2009-01-29)
parents 83790457e85b
children
line source
1 $ \textbf{hg help init}
2 hg init [-e CMD] [--remotecmd CMD] [DEST]
4 create a new repository in the given directory
6 Initialize a new repository in the given directory. If the given
7 directory does not exist, it is created.
9 If no directory is given, the current directory is used.
11 It is possible to specify an ssh:// URL as the destination.
12 See 'hg help urls' for more information.
14 options:
16 -e --ssh specify ssh command to use
17 --remotecmd specify hg command to run on the remote side
19 use "hg -v help init" to show global options