70 -c, --changeset list the changeset |
70 -c, --changeset list the changeset |
71 -n, --number list the revision number (default) |
71 -n, --number list the revision number (default) |
72 |
72 |
73 cat <file> [revision]:: |
73 cat <file> [revision]:: |
74 Output the given revision or tip of the specified file to stdout. |
74 Output the given revision or tip of the specified file to stdout. |
|
75 |
|
76 clone [-U] <source> [dest]:: |
|
77 Create a new copy of an existing repository. |
|
78 |
|
79 If the specified source is on the same filesystem, the repository |
|
80 will be copied via hardlinks. This is the fastest and most |
|
81 space-efficient mode of operation. |
|
82 |
|
83 If the destination directory is not specified, it defaults to the |
|
84 current directory. |
|
85 |
|
86 If the destination is specified, but does not exist, it is created. |
|
87 |
|
88 The source is added to .hg/hgrc in the new copy as the default for |
|
89 future pulls. |
|
90 |
|
91 options: |
|
92 -U, --no-update do not update the new working directory |
75 |
93 |
76 commit [-A -t -l <file> -t <text> -u <user> -d <datecode>] [files...]:: |
94 commit [-A -t -l <file> -t <text> -u <user> -d <datecode>] [files...]:: |
77 Commit all changed files in the working dir to the repository. This uses |
95 Commit all changed files in the working dir to the repository. This uses |
78 the EDITOR environment variable to bring up an editor to add a commit |
96 the EDITOR environment variable to bring up an editor to add a commit |
79 comment. |
97 comment. |
132 aliases: patch |
150 aliases: patch |
133 |
151 |
134 init [-u] [source]:: |
152 init [-u] [source]:: |
135 Initialize a repository in the current directory. |
153 Initialize a repository in the current directory. |
136 |
154 |
|
155 NOTE: The following use is deprecated, and will be removed soon; |
|
156 use the "hg clone" command instead. |
|
157 |
137 If a source is specified, pull that source into the repository. |
158 If a source is specified, pull that source into the repository. |
138 This source is added to .hg/hgrc as the default for future pulls |
159 This source is added to .hg/hgrc as the default for future pulls |
139 in this repository. |
160 in this repository. |
140 |
161 |
141 If the specified source is on the same filesystem, the repository |
162 If the specified source is on the same filesystem, the repository |