hgext/obsolete.py
branchstable
changeset 1061 f3867e60d072
parent 519 9825c7da5b54
child 1216 a307eea46f96
--- a/hgext/obsolete.py	Fri Aug 15 16:54:32 2014 -0700
+++ b/hgext/obsolete.py	Fri Aug 15 17:42:19 2014 -0700
@@ -96,7 +96,7 @@
                             'user': ui.username(),
                             }
                         try:
-                            store.create(tr, prec, sucs, 0, meta)
+                            store.create(tr, prec, sucs, 0, metadata=meta)
                             cnt += 1
                         except ValueError:
                             repo.ui.write_err("invalid old marker line: %s"
@@ -135,7 +135,7 @@
                         succs = [bin(n) for n in oldsubjects]
                         succs = [n for n in succs if n != nullid]
                         store.create(tr, bin(oldobject), succs,
-                                     0, meta)
+                                     0, metadata=meta)
                         cnt += 1
                     except ValueError:
                         repo.ui.write_err("invalid marker %s -> %s\n"