Show More
@@ -288,6 +288,7 b' class _BaseBranchCache:' | |||||
288 | obsrevs = obsolete.getrevs(repo, b'obsolete') |
|
288 | obsrevs = obsolete.getrevs(repo, b'obsolete') | |
289 | # collect new branch entries |
|
289 | # collect new branch entries | |
290 | newbranches = {} |
|
290 | newbranches = {} | |
|
291 | obs_ignored = set() | |||
291 | getbranchinfo = repo.revbranchcache().branchinfo |
|
292 | getbranchinfo = repo.revbranchcache().branchinfo | |
292 | max_rev = -1 |
|
293 | max_rev = -1 | |
293 | for r in revgen: |
|
294 | for r in revgen: | |
@@ -295,6 +296,7 b' class _BaseBranchCache:' | |||||
295 | if r in obsrevs: |
|
296 | if r in obsrevs: | |
296 | # We ignore obsolete changesets as they shouldn't be |
|
297 | # We ignore obsolete changesets as they shouldn't be | |
297 | # considered heads. |
|
298 | # considered heads. | |
|
299 | obs_ignored.add(r) | |||
298 | continue |
|
300 | continue | |
299 | branch, closesbranch = getbranchinfo(r) |
|
301 | branch, closesbranch = getbranchinfo(r) | |
300 | newbranches.setdefault(branch, []).append(r) |
|
302 | newbranches.setdefault(branch, []).append(r) |
General Comments 0
You need to be logged in to leave comments.
Login now