equal
deleted
inserted
replaced
183 heads = self[branch] |
183 heads = self[branch] |
184 if not closed: |
184 if not closed: |
185 heads = [h for h in heads if h not in self._closednodes] |
185 heads = [h for h in heads if h not in self._closednodes] |
186 return heads |
186 return heads |
187 |
187 |
|
188 def iterbranches(self): |
|
189 for bn, heads in self.iteritems(): |
|
190 yield (bn, heads) + self._branchtip(heads) |
|
191 |
188 def copy(self): |
192 def copy(self): |
189 """return an deep copy of the branchcache object""" |
193 """return an deep copy of the branchcache object""" |
190 return branchcache(self, self.tipnode, self.tiprev, self.filteredhash, |
194 return branchcache(self, self.tipnode, self.tiprev, self.filteredhash, |
191 self._closednodes) |
195 self._closednodes) |
192 |
196 |