equal
deleted
inserted
replaced
161 - False when cached tipnode is unknown or if we detect a strip. |
161 - False when cached tipnode is unknown or if we detect a strip. |
162 - True when cache is up to date or a subset of current repo.""" |
162 - True when cache is up to date or a subset of current repo.""" |
163 valid = super(_topiccache, self).validfor(repo) |
163 valid = super(_topiccache, self).validfor(repo) |
164 if not valid: |
164 if not valid: |
165 return False |
165 return False |
166 elif not mighttopic(repo) and self.phaseshash is None: |
166 elif self.phaseshash is None: |
167 # phasehash at None means this is a branchmap |
167 # phasehash at None means this is a branchmap |
168 # coming from a public only set |
168 # coming from a public only set |
169 return True |
169 return True |
170 else: |
170 else: |
171 try: |
171 try: |