##// END OF EJS Templates
_updatebranchcache: prevent deleting dict key during iteration...
Pierre-Yves David -
r17210:ec80ae98 default
parent child Browse files
Show More
@@ -745,7 +745,7 b' class localrepository(object):'
745 # branch that ceased to exist may not be in newbranches because
745 # branch that ceased to exist may not be in newbranches because
746 # newbranches is the set of candidate heads, which when you strip the
746 # newbranches is the set of candidate heads, which when you strip the
747 # last commit in a branch will be the parent branch.
747 # last commit in a branch will be the parent branch.
748 for branch in partial:
748 for branch in partial.keys():
749 nodes = [head for head in partial[branch]
749 nodes = [head for head in partial[branch]
750 if self.changelog.hasnode(head)]
750 if self.changelog.hasnode(head)]
751 if not nodes:
751 if not nodes:
General Comments 0
You need to be logged in to leave comments. Login now