##// END OF EJS Templates
repoview: protect `base` computation from weird phase root...
Pierre-Yves David -
r18443:64848f7f default
parent child Browse files
Show More
@@ -90,6 +90,8 b' def computeimpactable(repo):'
90 for roots in repo._phasecache.phaseroots[1:]:
90 for roots in repo._phasecache.phaseroots[1:]:
91 if roots:
91 if roots:
92 firstmutable = min(firstmutable, min(cl.rev(r) for r in roots))
92 firstmutable = min(firstmutable, min(cl.rev(r) for r in roots))
93 # protect from nullrev root
94 firstmutable = max(0, firstmutable)
93 return frozenset(xrange(firstmutable, len(cl)))
95 return frozenset(xrange(firstmutable, len(cl)))
94
96
95 # function to compute filtered set
97 # function to compute filtered set
General Comments 0
You need to be logged in to leave comments. Login now