Show More
@@ -60,8 +60,8 b' class BranchMapCache:' | |||
|
60 | 60 | def __getitem__(self, repo): |
|
61 | 61 | self.updatecache(repo) |
|
62 | 62 | bcache = self._per_filter[repo.filtername] |
|
63 |
assert bcache._ |
|
|
64 |
bcache._ |
|
|
63 | assert bcache._filtername == repo.filtername, ( | |
|
64 | bcache._filtername, | |
|
65 | 65 | repo.filtername, |
|
66 | 66 | ) |
|
67 | 67 | return bcache |
@@ -80,8 +80,8 b' class BranchMapCache:' | |||
|
80 | 80 | """ |
|
81 | 81 | self.updatecache(repo) |
|
82 | 82 | bcache = self._per_filter[repo.filtername] |
|
83 |
assert bcache._ |
|
|
84 |
bcache._ |
|
|
83 | assert bcache._filtername == repo.filtername, ( | |
|
84 | bcache._filtername, | |
|
85 | 85 | repo.filtername, |
|
86 | 86 | ) |
|
87 | 87 | bcache.write(repo) |
@@ -220,7 +220,7 b' class branchcache:' | |||
|
220 | 220 | """hasnode is a function which can be used to verify whether changelog |
|
221 | 221 | has a given node or not. If it's not provided, we assume that every node |
|
222 | 222 | we have exists in changelog""" |
|
223 |
self._re |
|
|
223 | self._filtername = repo.filtername | |
|
224 | 224 | self._delayed = False |
|
225 | 225 | if tipnode is None: |
|
226 | 226 | self.tipnode = repo.nullid |
@@ -435,8 +435,8 b' class branchcache:' | |||
|
435 | 435 | ) |
|
436 | 436 | |
|
437 | 437 | def write(self, repo): |
|
438 |
assert self._ |
|
|
439 |
self._ |
|
|
438 | assert self._filtername == repo.filtername, ( | |
|
439 | self._filtername, | |
|
440 | 440 | repo.filtername, |
|
441 | 441 | ) |
|
442 | 442 | tr = repo.currenttransaction() |
@@ -483,8 +483,8 b' class branchcache:' | |||
|
483 | 483 | missing heads, and a generator of nodes that are strictly a superset of |
|
484 | 484 | heads missing, this function updates self to be correct. |
|
485 | 485 | """ |
|
486 |
assert self._ |
|
|
487 |
self._ |
|
|
486 | assert self._filtername == repo.filtername, ( | |
|
487 | self._filtername, | |
|
488 | 488 | repo.filtername, |
|
489 | 489 | ) |
|
490 | 490 | starttime = util.timer() |
General Comments 0
You need to be logged in to leave comments.
Login now