##// END OF EJS Templates
persistent-nodemap: properly ignore non-existent `.nd` data file...
Simon Sapin -
r46705:8ff2d835 default
parent child Browse files
Show More
@@ -58,7 +58,9 b' def persisted_data(revlog):'
58 58 else:
59 59 data = fd.read(data_length)
60 60 except OSError as e:
61 if e.errno != errno.ENOENT:
61 if e.errno == errno.ENOENT:
62 return None
63 else:
62 64 raise
63 65 if len(data) < data_length:
64 66 return None
General Comments 0
You need to be logged in to leave comments. Login now