hg init#
create a new repository in the given directory#
hg init [-e CMD] [--remotecmd CMD] [DEST]
Initialize a new repository in the given directory. If the given directory does not exist, it will be created.
If no directory is given, the current directory is used.
It is possible to specify an ssh:// URL as the destination.
See `hg help urls` for more information.
Returns 0 on success.
Options
Every command accepts the global options.
|
|
specify ssh command to use |
|
specify hg command to run on the remote side |
|
|
do not verify server certificate (ignoring web.cacerts config) |