##// END OF EJS Templates
revlog: close the index file handle after the data one...
marmoute -
r48119:27e9ed12 default
parent child Browse files
Show More
@@ -2267,10 +2267,12 b' class revlog(object):'
2267 2267 self._write_docket(transaction)
2268 2268 finally:
2269 2269 self._writinghandles = None
2270 if dfh is not None:
2271 dfh.close()
2272 # closing the index file last to avoid exposing referent to
2273 # potential unflushed data content.
2270 2274 if ifh is not None:
2271 2275 ifh.close()
2272 if dfh is not None:
2273 dfh.close()
2274 2276
2275 2277 def _write_docket(self, transaction):
2276 2278 """write the current docket on disk
General Comments 0
You need to be logged in to leave comments. Login now