##// END OF EJS Templates
transaction: narrow the error filtering when failing to rename undo file...
marmoute -
r48214:d2e0226b default
parent child Browse files
Show More
@@ -3445,8 +3445,9 b' def aftertrans(files):'
3445 3445 vfs.tryunlink(dest)
3446 3446 try:
3447 3447 vfs.rename(src, dest)
3448 except OSError: # journal file does not yet exist
3449 pass
3448 except OSError as exc: # journal file does not yet exist
3449 if exc.errno != errno.ENOENT:
3450 raise
3450 3451
3451 3452 return a
3452 3453
General Comments 0
You need to be logged in to leave comments. Login now