[PATCH 2 of 2] hgweb: generate archive links in order

Anton Shestakov av6 at dwimlabs.net
Tue Jan 10 09:59:09 EST 2017


On Tue, 10 Jan 2017 23:53:09 +0900
Yuya Nishihara <yuya at tcha.org> wrote:

> On Sun, 08 Jan 2017 09:52:56 +0800, Anton Shestakov wrote:
> > Sadly, archivespecs is a regular unordered dict, and collections.OrderedDict is
> > new in 2.7.  
> 
> There's util.sortdict() if you like.

Oh. Well, I missed that, because I've only searched for "ordered".

Thanks, I'll use it in my next series then.


More information about the Mercurial-devel mailing list