--- a/hgext/evolve.py Tue Aug 07 18:17:13 2012 +0200
+++ b/hgext/evolve.py Tue Aug 07 18:05:41 2012 +0200
@@ -118,8 +118,10 @@
if created:
updatebookmarks(newid)
# add evolution metadata
- collapsed = set([u.node() for u in updates] + [old.node()])
- repo.addcollapsedobsolete(collapsed, new.node())
+ markers = [(u, (new,)) for u in updates]
+ markers.append((old, (new,)))
+ obsolete = extensions.find('obsolete')
+ obsolete.createmarkers(repo, markers)
else:
# newid is an existing revision. It could make sense to
# replace revisions with existing ones but probably not by