# HG changeset patch # User Yuya Nishihara # Date 1608793088 -32400 # Node ID b308d750de82aefaa8a28ffaffc60ce0eed8a840 # Parent 734d051d0efb8122e1680895b214b1d143895273 log: update documentation about --follow with/without --rev (issue6459) diff -r 734d051d0efb -r b308d750de82 mercurial/commands.py --- a/mercurial/commands.py Thu Dec 03 22:49:01 2020 +0100 +++ b/mercurial/commands.py Thu Dec 24 15:58:08 2020 +0900 @@ -4386,7 +4386,7 @@ b'r', b'rev', [], - _(b'show the specified revision or revset'), + _(b'revisions to select or follow from'), _(b'REV'), ), ( @@ -4448,13 +4448,13 @@ project. If no revision range is specified, the default is ``tip:0`` unless - --follow is set, in which case the working directory parent is - used as the starting revision. + --follow is set. File history is shown without following rename or copy history of files. Use -f/--follow with a filename to follow history across renames and copies. --follow without a filename will only show - ancestors of the starting revision. + ancestors of the starting revisions. The starting revisions can be + specified by -r/--rev, which default to the working directory parent. By default this command prints revision number and changeset id, tags, non-trivial parents, user, date and time, and a summary for