diff hgext3rd/serverminitopic.py @ 3518:d938808e31bc

serverminitopic: attempt to fix assertion for repoview in branchmap This seems fine since we topic never impact public only caches.
author Sean Farley <sean@farley.io>
date Tue, 19 Dec 2017 13:15:00 -0600
parents 768f752b5364
children fa15068a9945
line wrap: on
line diff
--- a/hgext3rd/serverminitopic.py	Sun Mar 04 17:41:45 2018 -0500
+++ b/hgext3rd/serverminitopic.py	Tue Dec 19 13:15:00 2017 -0600
@@ -163,7 +163,7 @@
         valid = super(_topiccache, self).validfor(repo)
         if not valid:
             return False
-        elif not mighttopic(repo) and self.phaseshash is None:
+        elif self.phaseshash is None:
             # phasehash at None means this is a branchmap
             # coming from a public only set
             return True