Mercurial > hg-stable
view hgext/__init__.py @ 24236:de14c3972c2f
sortdict: have update() accept either dict or iterable of key/value pairs
Future patches will make the templater store a sorted dict in the _hybrid object.
sortdict should be constructed from a sorted list.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 18 Feb 2015 22:53:53 +0900 |
parents | 7d439981bec4 |
children | 155e3308289c |