Show More
@@ -572,15 +572,8 b' class hgsubrepo(abstractsubrepo):' | |||
|
572 | 572 | |
|
573 | 573 | def _readstorehashcache(self, remotepath): |
|
574 | 574 | '''read the store hash cache for a given remote repository''' |
|
575 |
cachefile = |
|
|
576 | if not os.path.exists(cachefile): | |
|
577 | return '' | |
|
578 | fd = open(cachefile, 'r') | |
|
579 | try: | |
|
580 | pullstate = fd.readlines() | |
|
581 | finally: | |
|
582 | fd.close() | |
|
583 | return pullstate | |
|
575 | cachefile = _getstorehashcachename(remotepath) | |
|
576 | return self._cachestorehashvfs.tryreadlines(cachefile, 'r') | |
|
584 | 577 | |
|
585 | 578 | def _cachestorehash(self, remotepath): |
|
586 | 579 | '''cache the current store hash |
General Comments 0
You need to be logged in to leave comments.
Login now