diff doc/hg.1.txt @ 907:652507dc9fce

Modify init command to take an optional directory to set up. If the directory does not exist, it is created. If no directory is given, the current directory is used.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 14 Aug 2005 21:33:09 -0800
parents 01215ad04283
children 891b6a262c4b
line wrap: on
line diff
--- a/doc/hg.1.txt	Mon Aug 15 06:18:49 2005 +0100
+++ b/doc/hg.1.txt	Sun Aug 14 21:33:09 2005 -0800
@@ -196,8 +196,11 @@
 
     aliases: patch
 
-init::
-    Initialize a new repository in the current directory.
+init [dest]::
+    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.
 
 locate [options] [files]::
     Print all files under Mercurial control whose names match the