[F001] Init
This functionality aims to surround : hg init and to adapt it for <ant> tags.
Shell command
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 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. options: -e --ssh specify ssh command to use --remotecmd specify hg command to run on the remote side use "hg -v help init" to show global options
Parameters
Attribute | Description | Value | Required |
---|---|---|---|
cmd | hg command | init | yes |
dir | hg root directory | yes |
Examples
<hg cmd="init" dir="/my/rootdirectory" />