Show More
@@ -474,7 +474,7 b' methods = {' | |||
|
474 | 474 | } |
|
475 | 475 | |
|
476 | 476 | class matchctx(object): |
|
477 |
def __init__(self, ctx, subset |
|
|
477 | def __init__(self, ctx, subset, status=None): | |
|
478 | 478 | self.ctx = ctx |
|
479 | 479 | self.subset = subset |
|
480 | 480 | self._status = status |
@@ -501,7 +501,8 b' class matchctx(object):' | |||
|
501 | 501 | class fullmatchctx(matchctx): |
|
502 | 502 | """A match context where any files in any revisions should be valid""" |
|
503 | 503 | |
|
504 |
def __init__(self, ctx, |
|
|
504 | def __init__(self, ctx, status=None): | |
|
505 | subset = _buildsubset(ctx, status) | |
|
505 | 506 | super(fullmatchctx, self).__init__(ctx, subset, status) |
|
506 | 507 | |
|
507 | 508 | def _intree(funcs, tree): |
@@ -540,8 +541,7 b' def getfileset(ctx, expr):' | |||
|
540 | 541 | else: |
|
541 | 542 | status = None |
|
542 | 543 | |
|
543 | subset = _buildsubset(ctx, status) | |
|
544 | return getset(fullmatchctx(ctx, subset, status), tree) | |
|
544 | return getset(fullmatchctx(ctx, status), tree) | |
|
545 | 545 | |
|
546 | 546 | def prettyformat(tree): |
|
547 | 547 | return parser.prettyformat(tree, ('string', 'symbol')) |
General Comments 0
You need to be logged in to leave comments.
Login now