diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py index b8a0e8176693ec0845f3d23015dc09f5e1443420_bWVyY3VyaWFsL29ic29sZXRlLnB5..adb3798dce492b25be5c1ee7ec273267467a7531_bWVyY3VyaWFsL29ic29sZXRlLnB5 100644 --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -272,8 +272,8 @@ def __nonzero__(self): return bool(self._all) - def create(self, transaction, prec, succs=(), flag=0, date=None, - metadata=None): + def create(self, transaction, prec, succs=(), flag=0, parents=None, + date=None, metadata=None): """obsolete: add a new obsolete marker * ensuring it is hashable @@ -302,7 +302,7 @@ if prec in succs: raise ValueError(_('in-marker cycle with %s') % node.hex(prec)) marker = (str(prec), tuple(succs), int(flag), encodemeta(metadata), - date, None) + date, parents) return bool(self.add(transaction, [marker])) def add(self, transaction, markers):