##// END OF EJS Templates
commit: remove special handling of IOError (actually dead code)...
Manuel Jacob -
r50207:fce59125 default
parent child Browse files
Show More
@@ -4,8 +4,6 b''
4 4 # GNU General Public License version 2 or any later version.
5 5
6 6
7 import errno
8
9 7 from .i18n import _
10 8 from .node import (
11 9 hex,
@@ -250,11 +248,6 b' def _process_files(tr, ctx, ms, files, n'
250 248 except OSError:
251 249 repo.ui.warn(_(b"trouble committing %s!\n") % uipathfn(f))
252 250 raise
253 except IOError as inst:
254 errcode = getattr(inst, 'errno', errno.ENOENT)
255 if error or errcode and errcode != errno.ENOENT:
256 repo.ui.warn(_(b"trouble committing %s!\n") % uipathfn(f))
257 raise
258 251
259 252 # update manifest
260 253 removed = [f for f in removed if f in m1 or f in m2]
General Comments 0
You need to be logged in to leave comments. Login now