Show More
@@ -492,11 +492,18 b' class dirstate(object):' | |||
|
492 | 492 | nd = work.pop() |
|
493 | 493 | if hasattr(match, 'dir'): |
|
494 | 494 | match.dir(nd) |
|
495 | skip = None | |
|
495 | 496 | if nd == '.': |
|
496 | 497 | nd = '' |
|
497 | entries = listdir(join(nd), stat=True) | |
|
498 | 498 | else: |
|
499 | entries = listdir(join(nd), stat=True, skip ='.hg') | |
|
499 | skip = '.hg' | |
|
500 | try: | |
|
501 | entries = listdir(join(nd), stat=True, skip=skip) | |
|
502 | except OSError, inst: | |
|
503 | if inst.errno == errno.EACCES: | |
|
504 | fwarn(nd, inst.strerror) | |
|
505 | continue | |
|
506 | raise | |
|
500 | 507 | for f, kind, st in entries: |
|
501 | 508 | nf = normalize(nd and (nd + "/" + f) or f, True) |
|
502 | 509 | if nf not in results: |
General Comments 0
You need to be logged in to leave comments.
Login now