changeset 47421 | d2e0226b511a |
parent 47412 | c887bab2dccf |
child 47440 | e43e68624dfb |
--- a/mercurial/localrepo.py Wed Jun 09 01:13:09 2021 +0200 +++ b/mercurial/localrepo.py Wed Jun 09 00:59:04 2021 +0200 @@ -3445,8 +3445,9 @@ vfs.tryunlink(dest) try: vfs.rename(src, dest) - except OSError: # journal file does not yet exist - pass + except OSError as exc: # journal file does not yet exist + if exc.errno != errno.ENOENT: + raise return a