comparison doc/hg.1.txt @ 496:6ce95a04999d

[PATCH] simplify init -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] simplify init From: Bryan O'Sullivan <bos@serpentine.com> Remove source directory option from "hg init". manifest hash: 2ace7b16c962fb434340b937fbcd494f3098a85f -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwQG/ywK+sNU5EO8RArbCAJ9DG45GepMI0Z9KWXqV8gmEbV1WfwCgotih LGAkD8iTfOLn7HIPVqt9FWY= =65uW -----END PGP SIGNATURE-----
author mpm@selenic.com
date Mon, 27 Jun 2005 23:52:31 -0800
parents e94cebc60d96
children 2dcced388cab
comparison
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]::