doc/hg.1.txt
changeset 496 6ce95a04999d
parent 495 e94cebc60d96
child 497 2dcced388cab
equal deleted inserted replaced
495:e94cebc60d96 496:6ce95a04999d
   147     -p, --strip <n>   directory strip option for patch
   147     -p, --strip <n>   directory strip option for patch
   148     -b <path>         base directory to read patches from
   148     -b <path>         base directory to read patches from
   149 
   149 
   150     aliases: patch
   150     aliases: patch
   151 
   151 
   152 init [-u] [source]::
   152 init::
   153     Initialize a repository in the current directory.
   153     Initialize a new repository in the current directory.
   154 
       
   155     NOTE: The following use is deprecated, and will be removed soon;
       
   156     use the "hg clone" command instead.
       
   157 
       
   158     If a source is specified, pull that source into the repository.
       
   159     This source is added to .hg/hgrc as the default for future pulls
       
   160     in this repository.
       
   161 
       
   162     If the specified source is on the same filesystem, the repository
       
   163     will be copied via hardlinks. This is the fastest and most
       
   164     space-efficient mode of operation.
       
   165 
       
   166     options:
       
   167     -u, --update   update the working directory to match the tip
       
   168 
   154 
   169 log <file>::
   155 log <file>::
   170     Print the revision history of the specified file.
   156     Print the revision history of the specified file.
   171 
   157 
   172 manifest [revision]::
   158 manifest [revision]::