comparison doc/hg.1.txt @ 1282:c1a507ba398b

Merge with BOS
author mpm@selenic.com
date Tue, 20 Sep 2005 11:38:01 -0700
parents 84df9951532a
children 2073e5a71008
comparison
equal deleted inserted replaced
1280:50553b99a5c9 1282:c1a507ba398b
137 -I, --include <pat> include names matching the given patterns 137 -I, --include <pat> include names matching the given patterns
138 -X, --exclude <pat> exclude names matching the given patterns 138 -X, --exclude <pat> exclude names matching the given patterns
139 -o, --output <filespec> print output to file with formatted name 139 -o, --output <filespec> print output to file with formatted name
140 -r, --rev <rev> print the given revision 140 -r, --rev <rev> print the given revision
141 141
142 clone [-U] <source> [dest]:: 142 clone [options] <source> [dest]::
143 Create a copy of an existing repository in a new directory. 143 Create a copy of an existing repository in a new directory.
144 144
145 If no destination directory name is specified, it defaults to the 145 If no destination directory name is specified, it defaults to the
146 basename of the source. 146 basename of the source.
147 147
148 The source is added to the new repository's .hg/hgrc file to be used in 148 The location of the source is added to the new repository's
149 future pulls. 149 .hg/hgrc file, as the default to be used for future pulls.
150 150
151 For efficiency, hardlinks are used for cloning whenever the 151 For efficiency, hardlinks are used for cloning whenever the source
152 source and destination are on the same filesystem. 152 and destination are on the same filesystem. Some filesystems,
153 such as AFS, implement hardlinking incorrectly, but do not report
154 errors. In these cases, use the --pull option to avoid
155 hardlinking.
153 156
154 options: 157 options:
155 -U, --noupdate do not update the new working directory 158 -U, --noupdate do not update the new working directory
159 --pull use pull protocol to copy metadata
156 -e, --ssh specify ssh command to use 160 -e, --ssh specify ssh command to use
157 --remotecmd specify hg command to run on the remote side 161 --remotecmd specify hg command to run on the remote side
158 162
159 commit [options] [files...]:: 163 commit [options] [files...]::
160 Commit changes to the given files into the repository. 164 Commit changes to the given files into the repository.