Show More
@@ -596,8 +596,10 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 | fd.writelines(storehash) | |
|
600 |
fd. |
|
|
599 | try: | |
|
600 | fd.writelines(storehash) | |
|
601 | finally: | |
|
602 | fd.close() | |
|
601 | 603 | finally: |
|
602 | 604 | lock.release() |
|
603 | 605 |
General Comments 0
You need to be logged in to leave comments.
Login now