[PATCH 1 of 2 STABLE] templatekw: fix join format of revset() function

Sean Farley sean at farley.io
Fri Jul 22 15:21:38 EDT 2016


Yuya Nishihara <yuya at tcha.org> writes:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1469192446 -32400
> #      Fri Jul 22 22:00:46 2016 +0900
> # Branch stable
> # Node ID c95239e03e854d54ad0035490392c4c39e28a742
> # Parent  d3df009ab1175a6792549b51ae66486dd98f398b
> templatekw: fix join format of revset() function
>
> It's been broken since e4609ec959f8, which made makemap() return a dict of
> multiple keywords. Because the default joinfmt() randomly picks one item
> from a dict, we have to make revset() select d[name] explicitly.

Ah! This is why that didn't work for me. Patch looks good to me.


More information about the Mercurial-devel mailing list