mercurial/dirstate.py
changeset 38959 0d032756e9bf
parent 38956 a3cabe9415e1
child 39260 27946fca8a05
equal deleted inserted replaced
38958:b9f94d67ea73 38959:0d032756e9bf
   910                         match.bad(self.pathto(nd),
   910                         match.bad(self.pathto(nd),
   911                                   encoding.strtolocal(inst.strerror))
   911                                   encoding.strtolocal(inst.strerror))
   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:
   918                         # even though f might be a directory, we're only
   923                         # even though f might be a directory, we're only
   919                         # interested in comparing it to files currently in the
   924                         # interested in comparing it to files currently in the