diff mercurial/localrepo.py @ 43761:b38cd2e6e12d

localrepo: mark nullrev has never filtered All repository have a null, and it cannot be filtered. Differential Revision: https://phab.mercurial-scm.org/D7484
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 23 Nov 2019 16:46:20 -0800
parents 09409a3fc3cc
children 3fd6ec54704c
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Nov 17 06:06:38 2019 +0100
+++ b/mercurial/localrepo.py	Sat Nov 23 16:46:20 2019 -0800
@@ -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)