Show More
@@ -679,13 +679,10 b' class hgsubrepo(abstractsubrepo):' | |||
|
679 | 679 | store may be "clean" versus a given remote repo, but not versus another |
|
680 | 680 | ''' |
|
681 | 681 | cachefile = _getstorehashcachename(remotepath) |
|
682 |
|
|
|
683 | try: | |
|
682 | with self._repo.lock(): | |
|
684 | 683 | storehash = list(self._calcstorehash(remotepath)) |
|
685 | 684 | vfs = self._cachestorehashvfs |
|
686 | 685 | vfs.writelines(cachefile, storehash, mode='w', notindexed=True) |
|
687 | finally: | |
|
688 | lock.release() | |
|
689 | 686 | |
|
690 | 687 | def _getctx(self): |
|
691 | 688 | '''fetch the context for this subrepo revision, possibly a workingctx |
General Comments 0
You need to be logged in to leave comments.
Login now