comparison mercurial/extensions.py @ 32318:6a773d3050c9

config: make config.items() return a copy config.items() was iterating over a copy of the data for the the specified section on Python 2 by using .items(). However, on Python 3, items() does not make a copy, so let's switch to explicitly making a copy to make it safe on both Python 2 and Python 3.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 18 May 2017 13:38:37 -0700
parents bd872f64a8ba
children b88d879e468a
comparison
equal deleted inserted replaced
32317:6587427b2018 32318:6a773d3050c9