mercurial/commands.py
changeset 34905 5c7dbb730179
parent 34863 b1e3f609bf45
child 34906 2e45bbd3db7b
equal deleted inserted replaced
34904:4554649a6ea4 34905:5c7dbb730179
  3278     Paths in the DAG are represented with '|', '/' and so forth. ':' in place
  3278     Paths in the DAG are represented with '|', '/' and so forth. ':' in place
  3279     of a '|' indicates one or more revisions in a path are omitted.
  3279     of a '|' indicates one or more revisions in a path are omitted.
  3280 
  3280 
  3281     .. container:: verbose
  3281     .. container:: verbose
  3282 
  3282 
  3283        Use -L/--line-range FILE,M-N options to follow the history of lines
  3283        Use -L/--line-range FILE,M:N options to follow the history of lines
  3284        from M to N in FILE. With -p/--patch only diff hunks affecting
  3284        from M to N in FILE. With -p/--patch only diff hunks affecting
  3285        specified line range will be shown. This option requires --follow;
  3285        specified line range will be shown. This option requires --follow;
  3286        it can be specified multiple times. Currently, this option is not
  3286        it can be specified multiple times. Currently, this option is not
  3287        compatible with --graph. This option is experimental.
  3287        compatible with --graph. This option is experimental.
  3288 
  3288 
  3355 
  3355 
  3356           hg log -r "last(tagged())::" --template "{desc|firstline}\\n"
  3356           hg log -r "last(tagged())::" --template "{desc|firstline}\\n"
  3357 
  3357 
  3358       - changesets touching lines 13 to 23 for file.c::
  3358       - changesets touching lines 13 to 23 for file.c::
  3359 
  3359 
  3360           hg log -L file.c,13-23
  3360           hg log -L file.c,13:23
  3361 
  3361 
  3362       - changesets touching lines 13 to 23 for file.c and lines 2 to 6 of
  3362       - changesets touching lines 13 to 23 for file.c and lines 2 to 6 of
  3363         main.c with patch::
  3363         main.c with patch::
  3364 
  3364 
  3365           hg log -L file.c,13-23 -L main.c,2-6 -p
  3365           hg log -L file.c,13:23 -L main.c,2:6 -p
  3366 
  3366 
  3367     See :hg:`help dates` for a list of formats valid for -d/--date.
  3367     See :hg:`help dates` for a list of formats valid for -d/--date.
  3368 
  3368 
  3369     See :hg:`help revisions` for more about specifying and ordering
  3369     See :hg:`help revisions` for more about specifying and ordering
  3370     revisions.
  3370     revisions.