diff mercurial/discovery.py @ 23761:19d6271a70db

namespaces: add __iter__ and iteritems methods Iterating over all the namespaces is a common operation, naturally, so we add those methods now. Since we are using a sorted dictionary, this method just calls the underlying __iter__ or iteritems method.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 22 Dec 2014 09:07:37 -0800
parents 70383c6961b4
children 6ddc86eedc3b
line wrap: on
line diff