mercurial/scmutil.py
changeset 39916 1857f50a9643
parent 39900 a89dd6d01df0
child 39923 61f39a892168
--- a/mercurial/scmutil.py	Wed Sep 26 22:05:28 2018 +0200
+++ b/mercurial/scmutil.py	Wed Sep 26 21:28:21 2018 +0200
@@ -980,15 +980,13 @@
             # Also sort the node in topology order, that might be useful for
             # some obsstore logic.
             # NOTE: the filtering and sorting might belong to createmarkers.
-            isobs = unfi.obsstore.successors.__contains__
             torev = unfi.changelog.rev
             sortfunc = lambda ns: torev(ns[0][0])
             rels = []
             for ns, s in sorted(replacements.items(), key=sortfunc):
                 for n in ns:
-                    if s or not isobs(n):
-                        rel = (unfi[n], tuple(unfi[m] for m in s))
-                        rels.append(rel)
+                    rel = (unfi[n], tuple(unfi[m] for m in s))
+                    rels.append(rel)
             if rels:
                 obsolete.createmarkers(repo, rels, operation=operation,
                                        metadata=metadata)