changeset 46147:b308d750de82 stable

log: update documentation about --follow with/without --rev (issue6459)
author Yuya Nishihara <yuya@tcha.org>
date Thu, 24 Dec 2020 15:58:08 +0900
parents 734d051d0efb
children 63f0e31af0e5 9da65e3cf370
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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