[PATCH evolve-ext] legacy: fix debugrecordpruneparents to call obsstore.create() with keywords

Sean Farley sean at farley.io
Thu Apr 20 13:07:56 EDT 2017


Yuya Nishihara <yuya at tcha.org> writes:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1492615273 -32400
> #      Thu Apr 20 00:21:13 2017 +0900
> # Branch stable
> # Node ID dfc33a94e1e6050d82d6df47b2cffb997f37cbd5
> # Parent  eb47d436cdc3bc6657d89baffe24fcd9abaf9e9c
> legacy: fix debugrecordpruneparents to call obsstore.create() with keywords
>
> It appears the API was changed twice in Mercurial at
>
>  - 570f87422f54 "obsstore: add an explicit `date` argument to obsstore.create"
>  - adb3798dce49 "obsstore: add a `parents` argument to obsstore.create"
>
> and metadata would be changed to a list of (key, value) pairs. Convert it back
> to a dict as expected by create().

Seems fine to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170420/1cbac286/attachment.sig>


More information about the Mercurial-devel mailing list