Show More
@@ -566,7 +566,8 b' class matchctx(object):' | |||
|
566 | 566 | def filter(self, files): |
|
567 | 567 | return [f for f in files if f in self.subset] |
|
568 | 568 | def existing(self): |
|
569 | assert self._existingenabled, 'unexpected existing() invocation' | |
|
569 | if not self._existingenabled: | |
|
570 | raise error.ProgrammingError('unexpected existing() invocation') | |
|
570 | 571 | if self._status is not None: |
|
571 | 572 | removed = set(self._status[3]) |
|
572 | 573 | unknown = set(self._status[4] + self._status[5]) |
@@ -446,7 +446,7 b" Test detection of unintentional 'matchct" | |||
|
446 | 446 | > EOF |
|
447 | 447 | |
|
448 | 448 | $ fileset 'existingcaller()' 2>&1 | tail -1 |
|
449 |
|
|
|
449 | *ProgrammingError: *unexpected existing() invocation* (glob) | |
|
450 | 450 | |
|
451 | 451 | Test 'revs(...)' |
|
452 | 452 | ================ |
General Comments 0
You need to be logged in to leave comments.
Login now