Show More
@@ -509,17 +509,16 b' class dirstate(object):' | |||||
509 | results[nf] = None |
|
509 | results[nf] = None | |
510 | except OSError, inst: |
|
510 | except OSError, inst: | |
511 | keep = False |
|
511 | keep = False | |
512 | prefix = nf + "/" |
|
512 | if nf in dmap: # does it exactly match a file? | |
513 | for fn in dmap: |
|
513 | results[nf] = None | |
514 |
|
|
514 | keep = True | |
515 | if matchfn(nf): |
|
515 | else: # does it match a directory? | |
516 |
|
|
516 | prefix = nf + "/" | |
517 |
|
|
517 | for fn in dmap: | |
518 |
|
|
518 | if fn.startswith(prefix): | |
519 | elif fn.startswith(prefix): |
|
519 | dostep3 = True | |
520 |
|
|
520 | keep = True | |
521 |
|
|
521 | break | |
522 | break |
|
|||
523 | if not keep: |
|
522 | if not keep: | |
524 | if inst.errno != errno.ENOENT: |
|
523 | if inst.errno != errno.ENOENT: | |
525 | fwarn(ff, inst.strerror) |
|
524 | fwarn(ff, inst.strerror) |
General Comments 0
You need to be logged in to leave comments.
Login now