##// END OF EJS Templates
dirstate: add comment on why we don't need to check if something is a dir/file...
Kyle Lippincott -
r38995:0d032756 default
parent child Browse files
Show More
@@ -912,6 +912,11 b' class dirstate(object):'
912 continue
912 continue
913 raise
913 raise
914 for f, kind, st in entries:
914 for f, kind, st in entries:
915 # If we needed to inspect any files, visitentries would have
916 # been 'this' or 'all', and we would have set it to None
917 # above. If we have visitentries populated here, we don't
918 # care about any files in this directory, so no need to
919 # check the type of `f`.
915 if visitentries and f not in visitentries:
920 if visitentries and f not in visitentries:
916 continue
921 continue
917 if normalizefile:
922 if normalizefile:
General Comments 0
You need to be logged in to leave comments. Login now