p4 graph log (graph)
List commits.
For depots of type graph
only.
Syntax
p4 graph log -n //repo/name [options] commit ...
Description
Lists the specified commits from the specified repo.
The full set of options:
p4 graph log -n repo [ -u user ] [ -A date ] [ -B date ] [ -p ] [ -N minParents ]
[ -X maxParents ] [ --oneline[=tree] [--no-abbrev] ] [ -a | -m max ] commit ...
Options
|
Display all commits (default is first 1000). |
|
Display no more than max commits. |
|
Display commits created after this date. |
|
Display commits created by this author. |
-N minParents
|
Display commits having at least this many parents. |
-X maxParents
|
Display commits having at most this many parents. |
-p
|
Display commits following first parent only. |
-P
|
Display commits that affect any file under this path and filter out any commits that are not on that path. For example,
ignores commits for |
--oneline[=tree]
|
Display one line per commit. |
The optional to add a column in the output for tree-SHA-1 values |
|
The optional
to display SHA-1 values in the original 40 characters instead of the default 7 characters abbreviation. |
|
|
Usage notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
Yes |
Yes |
|