serverminitopic: attempt to fix assertion for repoview in branchmap
authorSean Farley <sean@farley.io>
Tue, 19 Dec 2017 13:15:00 -0600
changeset 3518 d938808e31bc
parent 3517 dc31ec3ef042
child 3519 2823c82ad8a4
serverminitopic: attempt to fix assertion for repoview in branchmap This seems fine since we topic never impact public only caches.
hgext3rd/serverminitopic.py
--- 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