##// 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 131 finally:
132 132 f.close()
133 133 else:
134 try:
135 self._repo.vfs.unlink('bookmarks.current')
136 except OSError as inst:
137 if inst.errno != errno.ENOENT:
138 raise
134 self._repo.vfs.tryunlink('bookmarks.current')
139 135 self._aclean = True
140 136
141 137 def _write(self, fp):
General Comments 0
You need to be logged in to leave comments. Login now