71 |
71 |
72 This command is useful to discover who did a change or when a change took |
72 This command is useful to discover who did a change or when a change took |
73 place. |
73 place. |
74 |
74 |
75 options: |
75 options: |
76 -I, --include <pat> include directories matching the given patterns |
76 -I, --include <pat> include names matching the given patterns |
77 -X, --exclude <pat> exclude directories matching the given patterns |
77 -X, --exclude <pat> exclude names matching the given patterns |
78 -r, --revision <rev> annotate the specified revision |
78 -r, --revision <rev> annotate the specified revision |
79 -u, --user list the author |
79 -u, --user list the author |
80 -c, --changeset list the changeset |
80 -c, --changeset list the changeset |
81 -n, --number list the revision number (default) |
81 -n, --number list the revision number (default) |
82 |
82 |
98 source and destination are on the same filesystem. |
98 source and destination are on the same filesystem. |
99 |
99 |
100 options: |
100 options: |
101 -U, --noupdate do not update the new working directory |
101 -U, --noupdate do not update the new working directory |
102 |
102 |
103 commit [-A -t -l <file> -m <text> -u <user> -d <datecode>] [files...]:: |
103 commit [options] [files...]:: |
104 Commit changes to the given files into the repository. |
104 Commit changes to the given files into the repository. |
105 |
105 |
106 If a list of files is omitted, all changes reported by "hg status" |
106 If a list of files is omitted, all changes reported by "hg status" |
107 will be commited. |
107 from the root of the repository will be commited. |
108 |
108 |
109 The HGEDITOR or EDITOR environment variables are used to start an |
109 The HGEDITOR or EDITOR environment variables are used to start an |
110 editor to add a commit comment. |
110 editor to add a commit comment. |
111 |
111 |
112 Options: |
112 Options: |
113 |
113 |
114 -A, --addremove run addremove during commit |
114 -A, --addremove run addremove during commit |
|
115 -I, --include <pat> include names matching the given patterns |
|
116 -X, --exclude <pat> exclude names matching the given patterns |
115 -m, --message <text> use <text> as commit message |
117 -m, --message <text> use <text> as commit message |
116 -l, --logfile <file> show the commit message for the given file |
118 -l, --logfile <file> show the commit message for the given file |
117 -d, --date <datecode> record datecode as commit date |
119 -d, --date <datecode> record datecode as commit date |
118 -u, --user <user> record user as commiter |
120 -u, --user <user> record user as commiter |
119 |
121 |
134 that revision is compared to the working directory, and, when no |
136 that revision is compared to the working directory, and, when no |
135 revisions are specified, the working directory files are compared |
137 revisions are specified, the working directory files are compared |
136 to its parent. |
138 to its parent. |
137 |
139 |
138 options: |
140 options: |
139 -I, --include <pat> include directories matching the given patterns |
141 -I, --include <pat> include names matching the given patterns |
140 -X, --exclude <pat> exclude directories matching the given patterns |
142 -X, --exclude <pat> exclude names matching the given patterns |
141 |
143 |
142 export [-o filespec] [revision] ...:: |
144 export [-o filespec] [revision] ...:: |
143 Print the changeset header and diffs for one or more revisions. |
145 Print the changeset header and diffs for one or more revisions. |
144 |
146 |
145 The information shown in the changeset header is: author, |
147 The information shown in the changeset header is: author, |
159 |
161 |
160 Options: |
162 Options: |
161 |
163 |
162 -o, --output <filespec> print output to file with formatted named |
164 -o, --output <filespec> print output to file with formatted named |
163 |
165 |
164 forget [files]:: |
166 forget [options] [files]:: |
165 Undo an 'hg add' scheduled for the next commit. |
167 Undo an 'hg add' scheduled for the next commit. |
|
168 |
|
169 options: |
|
170 -I, --include <pat> include names matching the given patterns |
|
171 -X, --exclude <pat> exclude names matching the given patterns |
166 |
172 |
167 heads:: |
173 heads:: |
168 Show all repository head changesets. |
174 Show all repository head changesets. |
169 |
175 |
170 Repository "heads" are changesets that don't have children |
176 Repository "heads" are changesets that don't have children |
211 |
217 |
212 options: |
218 options: |
213 |
219 |
214 -0, --print0 end filenames with NUL, for use with xargs |
220 -0, --print0 end filenames with NUL, for use with xargs |
215 -f, --fullpath print complete paths from the filesystem root |
221 -f, --fullpath print complete paths from the filesystem root |
216 -I, --include <pat> include directories matching the given patterns |
222 -I, --include <pat> include names matching the given patterns |
217 -r, --rev <rev> search the repository as it stood at rev |
223 -r, --rev <rev> search the repository as it stood at rev |
218 -X, --exclude <pat> exclude directories matching the given patterns |
224 -X, --exclude <pat> exclude names matching the given patterns |
219 |
225 |
220 log [-r revision ...] [-p] [file]:: |
226 log [-r revision ...] [-p] [file]:: |
221 Print the revision history of the specified file or the entire project. |
227 Print the revision history of the specified file or the entire project. |
222 |
228 |
223 By default this command outputs: changeset id and hash, tags, |
229 By default this command outputs: changeset id and hash, tags, |
337 R = removed |
343 R = removed |
338 ? = not tracked |
344 ? = not tracked |
339 |
345 |
340 options: |
346 options: |
341 |
347 |
342 -I, --include <pat> include directories matching the given patterns |
348 -I, --include <pat> include names matching the given patterns |
343 -X, --exclude <pat> exclude directories matching the given patterns |
349 -X, --exclude <pat> exclude names matching the given patterns |
344 |
350 |
345 tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]:: |
351 tag [-l -m <text> -d <datecode> -u <user>] <name> [revision]:: |
346 Name a particular revision using <name>. |
352 Name a particular revision using <name>. |
347 |
353 |
348 Tags are used to name particular revisions of the repository and are |
354 Tags are used to name particular revisions of the repository and are |