Mercurial > hg-website
Help: obslog
hg obslog [OPTION]... [[-r] REV]...
aliases: olog
show the obsolescence history of the specified revisions
If no revision range is specified, we display the log for the current working copy parent.
By default this command prints the selected revisions and all its precursors. For precursors pointing on existing revisions in the repository, it will display revisions node id, revision number and the first line of the description. For precursors pointing on non existing revisions in the repository (that can happen when exchanging obsolescence-markers), display only the node id.
In both case, for each node, its obsolescence marker will be displayed with the obsolescence operation (rewritten or pruned) in addition of the user and date of the operation.
The output is a graph by default but can deactivated with the option '--no-graph'.
'o' is a changeset, '@' is a working directory parent, 'x' is obsolete, and '+' represents a fork where the changeset from the lines below is a parent of the 'o' merge on the same line.
Paths in the DAG are represented with '|', '/' and so forth.
Returns 0 on success.
options ([+] can be repeated):
-G | --[no-]graph | show the revision DAG (default: on) |
-r | --rev REV [+] | show the specified revision or revset |
-a | --all | show all related changesets, not only precursors |
-p | --patch | show the patch between two obs versions |
-f | --filternonlocal | filter out non local commits |
-o | --[no-]origin | show origin of changesets instead of fate (default: on) |
-T | --template TEMPLATE | display with template |
global options ([+] can be repeated):
-R | --repository REPO | repository root directory or name of overlay bundle file |
--cwd DIR | change working directory | |
-y | --noninteractive | do not prompt, automatically pick the first choice for all prompts |
-q | --quiet | suppress output |
-v | --verbose | enable additional output |
--color TYPE | when to colorize (boolean, always, auto, never, or debug) | |
--config CONFIG [+] | set/override config option (use 'section.name=value') | |
--debug | enable debugging output | |
--debugger | start debugger | |
--encoding ENCODE | set the charset encoding (default: UTF-8) | |
--encodingmode MODE | set the charset encoding mode (default: strict) | |
--traceback | always print a traceback on exception | |
--time | time how long the command takes | |
--profile | print command execution profile | |
--version | output version information and exit | |
-h | --help | display help and exit |
--hidden | consider hidden changesets | |
--pager TYPE | when to paginate (boolean, always, auto, or never) (default: auto) |