##// END OF EJS Templates
subrepo: ensure "close()" execution at the end of "_cachestorehash()"...
FUJIWARA Katsunori -
r21889:ee7e8dcf default
parent child Browse files
Show More
@@ -596,7 +596,9 b' class hgsubrepo(abstractsubrepo):'
596 596 if not os.path.exists(cachedir):
597 597 util.makedirs(cachedir, notindexed=True)
598 598 fd = open(cachefile, 'w')
599 try:
599 600 fd.writelines(storehash)
601 finally:
600 602 fd.close()
601 603 finally:
602 604 lock.release()
General Comments 0
You need to be logged in to leave comments. Login now