diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1532,7 +1532,7 @@ # dealing with some special values if changeid == b'null' or changeid == nullrev: - return context.changectx(self, nullrev, nullid) + return context.changectx(self, nullrev, nullid, maybe_filtered=False) if changeid == b'tip': node = self.changelog.tip() rev = self.changelog.rev(node) diff --git a/tests/test-repo-filters-tiptoe.t b/tests/test-repo-filters-tiptoe.t --- a/tests/test-repo-filters-tiptoe.t +++ b/tests/test-repo-filters-tiptoe.t @@ -54,6 +54,5 @@ Getting basic changeset inforation about `null` $ hg log -r null -T "{node}\n{date}\n" - debug.filters: computing revision filter for "visible" 0000000000000000000000000000000000000000 0.00