diff -r 86c0b5c09ee6 -r d9fb88c045a0 mercurial/context.py --- a/mercurial/context.py Sun May 03 14:18:32 2015 -0700 +++ b/mercurial/context.py Mon May 04 10:38:45 2015 -0700 @@ -459,7 +459,7 @@ pass except (error.FilteredIndexError, error.FilteredLookupError, error.FilteredRepoLookupError): - if repo.filtername == 'visible': + if repo.filtername.startswith('visible'): msg = _("hidden revision '%s'") % changeid hint = _('use --hidden to access hidden revisions') raise error.FilteredRepoLookupError(msg, hint=hint)