Show More
@@ -397,6 +397,9 b' class repoview:' | |||||
397 | """ |
|
397 | """ | |
398 |
|
398 | |||
399 | def __init__(self, repo, filtername, visibilityexceptions=None): |
|
399 | def __init__(self, repo, filtername, visibilityexceptions=None): | |
|
400 | if filtername is None: | |||
|
401 | msg = "repoview should have a non-None filtername" | |||
|
402 | raise error.ProgrammingError(msg) | |||
400 | object.__setattr__(self, '_unfilteredrepo', repo) |
|
403 | object.__setattr__(self, '_unfilteredrepo', repo) | |
401 | object.__setattr__(self, 'filtername', filtername) |
|
404 | object.__setattr__(self, 'filtername', filtername) | |
402 | object.__setattr__(self, '_clcachekey', None) |
|
405 | object.__setattr__(self, '_clcachekey', None) |
General Comments 0
You need to be logged in to leave comments.
Login now