##// END OF EJS Templates
bookmarks: use tryunlink
Ryan McElroy -
r31544:8a32d635 default
parent child Browse files
Show More
@@ -131,11 +131,7 b' class bmstore(dict):'
131 finally:
131 finally:
132 f.close()
132 f.close()
133 else:
133 else:
134 try:
134 self._repo.vfs.tryunlink('bookmarks.current')
135 self._repo.vfs.unlink('bookmarks.current')
136 except OSError as inst:
137 if inst.errno != errno.ENOENT:
138 raise
139 self._aclean = True
135 self._aclean = True
140
136
141 def _write(self, fp):
137 def _write(self, fp):
General Comments 0
You need to be logged in to leave comments. Login now