Mercurial > hg-stable
changeset 3657:4d988b7412f2
add log --removed
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 15 Nov 2006 15:51:58 -0600 |
parents | 194e2bcf338e |
children | d12c8668b102 |
files | mercurial/cmdutil.py mercurial/commands.py |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Wed Nov 15 15:51:58 2006 -0600 +++ b/mercurial/cmdutil.py Wed Nov 15 15:51:58 2006 -0600 @@ -643,7 +643,7 @@ defrange = 'tip:0' revs = revrange(ui, repo, opts['rev'] or [defrange]) wanted = {} - slowpath = anypats + slowpath = anypats or opts.get('removed') fncache = {} if not slowpath and not files:
--- a/mercurial/commands.py Wed Nov 15 15:51:58 2006 -0600 +++ b/mercurial/commands.py Wed Nov 15 15:51:58 2006 -0600 @@ -2582,6 +2582,7 @@ ('k', 'keyword', [], _('search for a keyword')), ('l', 'limit', '', _('limit number of changes displayed')), ('r', 'rev', [], _('show the specified revision or range')), + ('', 'removed', None, _('include revs where files were removed')), ('M', 'no-merges', None, _('do not show merges')), ('', 'style', '', _('display using template map file')), ('m', 'only-merges', None, _('show only merges')),