Show More
@@ -159,7 +159,8 b' class client(object):' | |||
|
159 | 159 | vdirs = cs.read(nbytes) |
|
160 | 160 | if vdirs: |
|
161 | 161 | for vdir in vdirs.split('\0'): |
|
162 |
match.explicitdir |
|
|
162 | if match.explicitdir: | |
|
163 | match.explicitdir(vdir) | |
|
163 | 164 | |
|
164 | 165 | return results |
|
165 | 166 |
@@ -623,7 +623,8 b' class dirstate(object):' | |||
|
623 | 623 | if nf in dmap: |
|
624 | 624 | #file deleted on disk but still in dirstate |
|
625 | 625 | results[nf] = None |
|
626 |
matchedir |
|
|
626 | if matchedir: | |
|
627 | matchedir(nf) | |
|
627 | 628 | if not dirignore(nf): |
|
628 | 629 | wadd(nf) |
|
629 | 630 | elif kind == regkind or kind == lnkkind: |
@@ -639,7 +640,8 b' class dirstate(object):' | |||
|
639 | 640 | prefix = nf + "/" |
|
640 | 641 | for fn in dmap: |
|
641 | 642 | if fn.startswith(prefix): |
|
642 |
matchedir |
|
|
643 | if matchedir: | |
|
644 | matchedir(nf) | |
|
643 | 645 | skipstep3 = False |
|
644 | 646 | break |
|
645 | 647 | else: |
@@ -668,7 +670,8 b' class dirstate(object):' | |||
|
668 | 670 | if nf not in results: |
|
669 | 671 | if kind == dirkind: |
|
670 | 672 | if not ignore(nf): |
|
671 |
matchtdir |
|
|
673 | if matchtdir: | |
|
674 | matchtdir(nf) | |
|
672 | 675 | wadd(nf) |
|
673 | 676 | if nf in dmap and (matchalways or matchfn(nf)): |
|
674 | 677 | results[nf] = None |
@@ -119,10 +119,8 b' class match(object):' | |||
|
119 | 119 | found/accessed, with an error message |
|
120 | 120 | ''' |
|
121 | 121 | pass |
|
122 |
|
|
|
123 | pass | |
|
124 | def traversedir(self, f): | |
|
125 | pass | |
|
122 | explicitdir = None | |
|
123 | traversedir = None | |
|
126 | 124 | def missing(self, f): |
|
127 | 125 | pass |
|
128 | 126 | def exact(self, f): |
General Comments 0
You need to be logged in to leave comments.
Login now