##// END OF EJS Templates
branchmap: prevent using __getitem__() in branchheads()...
Pulkit Goyal -
r42281:29c22496 default
parent child Browse files
Show More
@@ -290,7 +290,7 b' class branchcache(object):'
290 return (n for n in nodes if n not in self._closednodes)
290 return (n for n in nodes if n not in self._closednodes)
291
291
292 def branchheads(self, branch, closed=False):
292 def branchheads(self, branch, closed=False):
293 heads = self[branch]
293 heads = self._entries[branch]
294 if not closed:
294 if not closed:
295 heads = list(self.iteropen(heads))
295 heads = list(self.iteropen(heads))
296 return heads
296 return heads
General Comments 0
You need to be logged in to leave comments. Login now