comparison paste/paste.16400 @ 7127:4f71d933f13e

<oerjan> ` hg log --help | paste
author HackBot
date Sun, 06 Mar 2016 01:04:25 +0000
parents
children
comparison
equal deleted inserted replaced
7126:c9ab79fd2ebf 7127:4f71d933f13e
1 hg log [OPTION]... [FILE]
2
3 aliases: history
4
5 show revision history of entire repository or files
6
7 Print the revision history of the specified files or the entire project.
8
9 If no revision range is specified, the default is "tip:0" unless --follow
10 is set, in which case the working directory parent is used as the starting
11 revision.
12
13 File history is shown without following rename or copy history of files.
14 Use -f/--follow with a filename to follow history across renames and
15 copies. --follow without a filename will only show ancestors or
16 descendants of the starting revision.
17
18 By default this command prints revision number and changeset id, tags,
19 non-trivial parents, user, date and time, and a summary for each commit.
20 When the -v/--verbose switch is used, the list of changed files and full
21 commit message are shown.
22
23 Note:
24 log -p/--patch may generate unexpected diff output for merge
25 changesets, as it will only compare the merge changeset against its
26 first parent. Also, only files different from BOTH parents will appear
27 in files:.
28
29 Note:
30 for performance reasons, log FILE may omit duplicate changes made on
31 branches and will not show deletions. To see all changes including
32 duplicates and deletions, use the --removed switch.
33
34 See "hg help dates" for a list of formats valid for -d/--date.
35
36 See "hg help revisions" and "hg help revsets" for more about specifying
37 revisions.
38
39 See "hg help templates" for more about pre-packaged styles and specifying
40 custom templates.
41
42 Returns 0 on success.
43
44 options:
45
46 -f --follow follow changeset history, or file history across
47 copies and renames
48 -d --date DATE show revisions matching date spec
49 -C --copies show copied files
50 -k --keyword TEXT [+] do case-insensitive search for a given text
51 -r --rev REV [+] show the specified revision or range
52 --removed include revisions where files were removed
53 -u --user USER [+] revisions committed by user
54 -b --branch BRANCH [+] show changesets within the given named branch
55 -P --prune REV [+] do not display revision or any of its ancestors
56 -p --patch show patch
57 -g --git use git extended diff format
58 -l --limit NUM limit number of changes displayed
59 -M --no-merges do not show merges
60 --stat output diffstat-style summary of changes
61 --style STYLE display using template map file
62 --template TEMPLATE display with template
63 -I --include PATTERN [+] include names matching the given patterns
64 -X --exclude PATTERN [+] exclude names matching the given patterns
65
66 [+] marked option can be specified multiple times
67
68 use "hg -v help log" to show more info