log: update documentation about --follow with/without --rev (issue6459) stable
authorYuya Nishihara <yuya@tcha.org>
Thu, 24 Dec 2020 15:58:08 +0900
branchstable
changeset 46147 b308d750de82
parent 46081 734d051d0efb
child 46203 63f0e31af0e5
child 46338 9da65e3cf370
log: update documentation about --follow with/without --rev (issue6459)
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