diff -r 4554649a6ea4 -r 5c7dbb730179 mercurial/commands.py --- a/mercurial/commands.py Wed Oct 18 19:00:33 2017 +0200 +++ b/mercurial/commands.py Thu Oct 19 12:37:26 2017 +0200 @@ -3280,7 +3280,7 @@ .. container:: verbose - Use -L/--line-range FILE,M-N options to follow the history of lines + Use -L/--line-range FILE,M:N options to follow the history of lines from M to N in FILE. With -p/--patch only diff hunks affecting specified line range will be shown. This option requires --follow; it can be specified multiple times. Currently, this option is not @@ -3357,12 +3357,12 @@ - changesets touching lines 13 to 23 for file.c:: - hg log -L file.c,13-23 + hg log -L file.c,13:23 - changesets touching lines 13 to 23 for file.c and lines 2 to 6 of main.c with patch:: - hg log -L file.c,13-23 -L main.c,2-6 -p + hg log -L file.c,13:23 -L main.c,2:6 -p See :hg:`help dates` for a list of formats valid for -d/--date.