# HG changeset patch # User Augie Fackler # Date 2018-02-18 05:49:29 # Node ID 5245bac09e6ad93e4cbb443e452e9ee25966474a # Parent 413c179cf7d5e5d7a0a8d7a92c28fa683dff267f manifest: use list(dict) instead of dict.keys() to get a list of keys Differential Revision: https://phab.mercurial-scm.org/D2317 diff --git a/mercurial/manifest.py b/mercurial/manifest.py --- a/mercurial/manifest.py +++ b/mercurial/manifest.py @@ -1019,7 +1019,7 @@ class treemanifest(object): # yield this dir's files and walk its submanifests self._load() - for p in sorted(self._dirs.keys() + self._files.keys()): + for p in sorted(list(self._dirs) + list(self._files)): if p in self._files: fullp = self._subpath(p) if match(fullp):