equal
deleted
inserted
replaced
327 C = changed |
327 C = changed |
328 A = added |
328 A = added |
329 R = removed |
329 R = removed |
330 ? = not tracked |
330 ? = not tracked |
331 |
331 |
332 tag [-t <text> -d <datecode> -u <user>] <name> [revision]:: |
332 tag [-l -t <text> -d <datecode> -u <user>] <name> [revision]:: |
333 Name a particular revision using <name>. |
333 Name a particular revision using <name>. |
334 |
334 |
335 Tags are used to name particular revisions of the repository and are |
335 Tags are used to name particular revisions of the repository and are |
336 very useful to compare different revision, to go back to significant |
336 very useful to compare different revision, to go back to significant |
337 earlier versions or to mark branch points as releases, etc. |
337 earlier versions or to mark branch points as releases, etc. |
342 they are stored as a file named ".hgtags" which is managed |
342 they are stored as a file named ".hgtags" which is managed |
343 similarly to other project files and can be hand-edited if |
343 similarly to other project files and can be hand-edited if |
344 necessary. |
344 necessary. |
345 |
345 |
346 options: |
346 options: |
|
347 -l, --local make the tag local |
347 -t, --text <text> message for tag commit log entry |
348 -t, --text <text> message for tag commit log entry |
348 -d, --date <datecode> datecode for commit |
349 -d, --date <datecode> datecode for commit |
349 -u, --user <user> user for commit |
350 -u, --user <user> user for commit |
350 |
351 |
351 Note: Mercurial also has support for "local tags" that are not |
352 Note: Local tags are not version-controlled or distributed and are |
352 version-controlled or distributed which are stored in the .hg/hgrc |
353 stored in the .hg/localtags file. If there exists a local tag and |
353 file. |
354 a public tag with the same name, local tag is used. |
354 |
355 |
355 tags:: |
356 tags:: |
356 List the repository tags. |
357 List the repository tags. |
357 |
358 |
358 This lists both regular and local tags. |
359 This lists both regular and local tags. |