--- a/mercurial/obsutil.py Wed Sep 26 22:45:44 2018 +0200
+++ b/mercurial/obsutil.py Wed Sep 26 23:37:43 2018 +0200
@@ -413,15 +413,13 @@
return False
return True
-def geteffectflag(relation):
+def geteffectflag(source, successors):
""" From an obs-marker relation, compute what changed between the
predecessor and the successor.
"""
effects = 0
- source = relation[0]
-
- for changectx in relation[1]:
+ for changectx in successors:
# Check if description has changed
if changectx.description() != source.description():
effects |= DESCCHANGED