mercurial/dirstate.py
changeset 31422 2e38a88bbc6c
parent 31278 1c97a91a18dc
child 31507 4d1dd9cf0dca
--- a/mercurial/dirstate.py	Thu Mar 16 08:03:51 2017 +0530
+++ b/mercurial/dirstate.py	Thu Mar 16 09:00:27 2017 +0530
@@ -1079,7 +1079,7 @@
             # a) not matching matchfn b) ignored, c) missing, or d) under a
             # symlink directory.
             if not results and matchalways:
-                visit = dmap.keys()
+                visit = [f for f in dmap]
             else:
                 visit = [f for f in dmap if f not in results and matchfn(f)]
             visit.sort()