equal
deleted
inserted
replaced
87 elif kind in (stat.S_IFREG, stat.S_IFLNK): |
87 elif kind in (stat.S_IFREG, stat.S_IFLNK): |
88 files.append(name) |
88 files.append(name) |
89 yield fullpath, dirs, files |
89 yield fullpath, dirs, files |
90 |
90 |
91 except OSError, err: |
91 except OSError, err: |
92 if err.errno not in walk_ignored_errors: |
92 if err.errno == errno.ENOTDIR: |
|
93 # fullpath was a directory, but has since been replaced |
|
94 # by a file. |
|
95 yield fullpath, dirs, files |
|
96 elif err.errno not in walk_ignored_errors: |
93 raise |
97 raise |
94 |
98 |
95 return walkit(root, root == '') |
99 return walkit(root, root == '') |
96 |
100 |
97 def _explain_watch_limit(ui, repo): |
101 def _explain_watch_limit(ui, repo): |