Show More
@@ -589,15 +589,16 b' class dirstate(object):' | |||
|
589 | 589 | |
|
590 | 590 | for src, fn, st in self.statwalk(files, match, unknown=list_unknown, |
|
591 | 591 | ignored=list_ignored): |
|
592 | if fn in dmap: | |
|
593 | state, mode, size, time, foo = dmap[fn] | |
|
594 | else: | |
|
592 | if fn not in dmap: | |
|
595 | 593 | if (list_ignored or fn in files) and self._dirignore(fn): |
|
596 | 594 | if list_ignored: |
|
597 | 595 | iadd(fn) |
|
598 | 596 | elif list_unknown: |
|
599 | 597 | uadd(fn) |
|
600 | 598 | continue |
|
599 | ||
|
600 | state, mode, size, time, foo = dmap[fn] | |
|
601 | ||
|
601 | 602 | if src == 'm': |
|
602 | 603 | nonexistent = True |
|
603 | 604 | if not st: |
@@ -610,8 +611,6 b' class dirstate(object):' | |||
|
610 | 611 | # We need to re-check that it is a valid file |
|
611 | 612 | if st and self._supported(fn, st.st_mode): |
|
612 | 613 | nonexistent = False |
|
613 | # XXX: what to do with file no longer present in the fs | |
|
614 | # who are not removed in the dirstate ? | |
|
615 | 614 | if nonexistent and state in "nma": |
|
616 | 615 | dadd(fn) |
|
617 | 616 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now