Show More
@@ -1120,7 +1120,7 b' def _computeobsoleteset(repo):' | |||||
1120 | """the set of obsolete revisions""" |
|
1120 | """the set of obsolete revisions""" | |
1121 | obs = set() |
|
1121 | obs = set() | |
1122 | getnode = repo.changelog.node |
|
1122 | getnode = repo.changelog.node | |
1123 | notpublic = repo.revs("not public()") |
|
1123 | notpublic = repo._phasecache.getrevset(repo, (phases.draft, phases.secret)) | |
1124 | for r in notpublic: |
|
1124 | for r in notpublic: | |
1125 | if getnode(r) in repo.obsstore.successors: |
|
1125 | if getnode(r) in repo.obsstore.successors: | |
1126 | obs.add(r) |
|
1126 | obs.add(r) |
General Comments 0
You need to be logged in to leave comments.
Login now