mercurial/commands.py
changeset 30785 301512fd6852
parent 30762 35b516f800e0
child 30787 ff020ee5f06c
equal deleted inserted replaced
30784:5dd67f0993ce 30785:301512fd6852
  3368 
  3368 
  3369       - show revisions sorted by date::
  3369       - show revisions sorted by date::
  3370 
  3370 
  3371           hg log -r "sort(all(), date)"
  3371           hg log -r "sort(all(), date)"
  3372 
  3372 
  3373     See :hg:`help revisions` and :hg:`help revsets` for more about
  3373     See :hg:`help revisions` for more about specifying revisions.
  3374     specifying revisions.
       
  3375 
  3374 
  3376     Returns 0 on successful completion.
  3375     Returns 0 on successful completion.
  3377     '''
  3376     '''
  3378     with repo.wlock():
  3377     with repo.wlock():
  3379         return _dograft(ui, repo, *revs, **opts)
  3378         return _dograft(ui, repo, *revs, **opts)
  4578 
  4577 
  4579           hg log -r "last(tagged())::" --template "{desc|firstline}\\n"
  4578           hg log -r "last(tagged())::" --template "{desc|firstline}\\n"
  4580 
  4579 
  4581     See :hg:`help dates` for a list of formats valid for -d/--date.
  4580     See :hg:`help dates` for a list of formats valid for -d/--date.
  4582 
  4581 
  4583     See :hg:`help revisions` and :hg:`help revsets` for more about
  4582     See :hg:`help revisions` for more about specifying and ordering
  4584     specifying and ordering revisions.
  4583     revisions.
  4585 
  4584 
  4586     See :hg:`help templates` for more about pre-packaged styles and
  4585     See :hg:`help templates` for more about pre-packaged styles and
  4587     specifying custom templates.
  4586     specifying custom templates.
  4588 
  4587 
  4589     Returns 0 on success.
  4588     Returns 0 on success.