diff mercurial/cmdutil.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 b9d06fa10ef2
children 07309e527df7
line wrap: on
line diff