##// END OF EJS Templates
dirstate: fix generator/list error when using python 2.7...
Durham Goode -
r18663:05cf40f9 default
parent child Browse files
Show More
@@ -703,7 +703,11 b' class dirstate(object):'
703 # Report ignored items in the dmap as long as they are not
703 # Report ignored items in the dmap as long as they are not
704 # under a symlink directory.
704 # under a symlink directory.
705 if ignore(nf) and audit_path.check(nf):
705 if ignore(nf) and audit_path.check(nf):
706 results[nf] = util.statfiles([join(nf)])[0]
706 try:
707 results[nf] = lstat(join(nf))
708 except OSError:
709 # file doesn't exist
710 results[nf] = None
707 else:
711 else:
708 # It's either missing or under a symlink directory
712 # It's either missing or under a symlink directory
709 results[nf] = None
713 results[nf] = None
General Comments 0
You need to be logged in to leave comments. Login now