Show More
@@ -113,9 +113,6 b' def load(repo):' | |||||
113 | # Treat "narrowspec does not exist" the same as "narrowspec file exists |
|
113 | # Treat "narrowspec does not exist" the same as "narrowspec file exists | |
114 | # and is empty". |
|
114 | # and is empty". | |
115 | if e.errno == errno.ENOENT: |
|
115 | if e.errno == errno.ENOENT: | |
116 | # Without this the next call to load will use the cached |
|
|||
117 | # non-existence of the file, which can cause some odd issues. |
|
|||
118 | repo.invalidate(clearfilecache=True) |
|
|||
119 | return set(), set() |
|
116 | return set(), set() | |
120 | raise |
|
117 | raise | |
121 | # maybe we should care about the profiles returned too |
|
118 | # maybe we should care about the profiles returned too |
General Comments 0
You need to be logged in to leave comments.
Login now