##// END OF EJS Templates
branchcache: rename `load` to `_load_heads`...
marmoute -
r52354:47752632 default
parent child Browse files
Show More
@@ -489,7 +489,7 b' class branchcache(_BaseBranchCache):'
489 if not bcache.validfor(repo):
489 if not bcache.validfor(repo):
490 # invalidate the cache
490 # invalidate the cache
491 raise ValueError('tip differs')
491 raise ValueError('tip differs')
492 bcache.load(repo, lineiter)
492 bcache._load_heads(repo, lineiter)
493 except (IOError, OSError):
493 except (IOError, OSError):
494 return None
494 return None
495
495
@@ -511,7 +511,7 b' class branchcache(_BaseBranchCache):'
511
511
512 return bcache
512 return bcache
513
513
514 def load(self, repo, lineiter):
514 def _load_heads(self, repo, lineiter):
515 """fully loads the branchcache by reading from the file using the line
515 """fully loads the branchcache by reading from the file using the line
516 iterator passed"""
516 iterator passed"""
517 for line in lineiter:
517 for line in lineiter:
General Comments 0
You need to be logged in to leave comments. Login now