view en/examples/tour.help.out @ 183:fe74ace5fe1c

Fix simple copy example.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 30 Mar 2007 23:28:34 -0700
parents 006bbad1f190
children f078515438d2
line wrap: on
line source

$ \textbf{hg help init}
hg init [-e CMD] [--remotecmd CMD] [DEST]

create a new repository in the given directory

    Initialize a new repository in the given directory.  If the given
    directory does not exist, it is created.

    If no directory is given, the current directory is used.

    It is possible to specify an ssh:// URL as the destination.
    Look at the help text for the pull command for important details
    about ssh:// URLs.

options:

 -e --ssh        specify ssh command to use
    --remotecmd  specify hg command to run on the remote side