##// END OF EJS Templates
dirstate: use list comprehension to get a list of keys...
Pulkit Goyal -
r31422:2e38a88b default
parent child Browse files
Show More
@@ -1079,7 +1079,7 b' class dirstate(object):'
1079 # a) not matching matchfn b) ignored, c) missing, or d) under a
1079 # a) not matching matchfn b) ignored, c) missing, or d) under a
1080 # symlink directory.
1080 # symlink directory.
1081 if not results and matchalways:
1081 if not results and matchalways:
1082 visit = dmap.keys()
1082 visit = [f for f in dmap]
1083 else:
1083 else:
1084 visit = [f for f in dmap if f not in results and matchfn(f)]
1084 visit = [f for f in dmap if f not in results and matchfn(f)]
1085 visit.sort()
1085 visit.sort()
General Comments 0
You need to be logged in to leave comments. Login now