--- a/mercurial/commands.py Tue Jan 08 21:16:39 2013 +0100
+++ b/mercurial/commands.py Tue Jan 08 20:37:37 2013 +0100
@@ -49,6 +49,7 @@
('', 'profile', None, _('print command execution profile')),
('', 'version', None, _('output version information and exit')),
('h', 'help', None, _('display help and exit')),
+ ('', 'hidden', False, _('consider hidden changesets')),
]
dryrunopts = [('n', 'dry-run', None,
@@ -4091,7 +4092,6 @@
_('show changesets within the given named branch'), _('BRANCH')),
('P', 'prune', [],
_('do not display revision or any of its ancestors'), _('REV')),
- ('', 'hidden', False, _('show hidden changesets (DEPRECATED)')),
] + logopts + walkopts,
_('[OPTION]... [FILE]'))
def log(ui, repo, *pats, **opts):
@@ -4207,8 +4207,6 @@
return
if opts.get('branch') and ctx.branch() not in opts['branch']:
return
- if not opts.get('hidden') and ctx.hidden():
- return
if df and not df(ctx.date()[0]):
return