Show More
@@ -635,10 +635,11 b' class obsstore(object):' | |||
|
635 | 635 | if self._readonly: |
|
636 | 636 | raise error.Abort(_('creating obsolete markers is not enabled on ' |
|
637 | 637 | 'this repo')) |
|
638 |
known = set( |
|
|
638 | known = set() | |
|
639 | getsuccessors = self.successors.get | |
|
639 | 640 | new = [] |
|
640 | 641 | for m in markers: |
|
641 | if m not in known: | |
|
642 | if m not in getsuccessors(m[0], ()) and m not in known: | |
|
642 | 643 | known.add(m) |
|
643 | 644 | new.append(m) |
|
644 | 645 | if new: |
General Comments 0
You need to be logged in to leave comments.
Login now