Show More
@@ -22,11 +22,7 import basestore | |||
|
22 | 22 | |
|
23 | 23 | # -- Utility functions: commonly/repeatedly needed functionality --------------- |
|
24 | 24 | |
|
25 |
def |
|
|
26 | '''installmatchfn with a matchfn that ignores all largefiles''' | |
|
27 | def overridematch(ctx, pats=[], opts={}, globbed=False, | |
|
28 | default='relpath'): | |
|
29 | match = oldmatch(ctx, pats, opts, globbed, default) | |
|
25 | def composenormalfilematcher(match, manifest): | |
|
30 | 26 |
|
|
31 | 27 |
|
|
32 | 28 |
|
@@ -36,6 +32,13 def installnormalfilesmatchfn(manifest): | |||
|
36 | 32 |
|
|
37 | 33 |
|
|
38 | 34 |
|
|
35 | ||
|
36 | def installnormalfilesmatchfn(manifest): | |
|
37 | '''installmatchfn with a matchfn that ignores all largefiles''' | |
|
38 | def overridematch(ctx, pats=[], opts={}, globbed=False, | |
|
39 | default='relpath'): | |
|
40 | match = oldmatch(ctx, pats, opts, globbed, default) | |
|
41 | return composenormalfilematcher(match, manifest) | |
|
39 | 42 | oldmatch = installmatchfn(overridematch) |
|
40 | 43 | |
|
41 | 44 | def installmatchfn(f): |
General Comments 0
You need to be logged in to leave comments.
Login now