zeripath
ca55e49cc0
Retry rename on lock induced failures ( #16435 ) ( #16439 )
...
Backport #16435
Due to external locking on Windows it is possible for an
os.Rename to fail if the files or directories are being
used elsewhere.
This PR simply suggests retrying the rename again similar
to how we handle the os.Remove problems.
Fix #16427
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 22:57:51 +03:00
..
2021-05-06 21:23:26 +02:00
2021-05-12 20:09:16 +01:00
2021-03-14 19:52:12 +01:00
2021-02-19 22:36:43 +01:00
2021-04-01 18:22:54 +08:00
2021-03-14 19:52:12 +01:00
2021-05-03 13:27:00 -04:00
2021-05-03 13:27:00 -04:00
2020-12-03 19:46:11 +01:00
2021-04-17 12:30:58 +01:00
2021-02-11 18:32:25 +01:00
2021-02-04 11:23:46 -06:00
2021-03-14 19:52:12 +01:00
2021-04-30 22:27:26 +01:00
2021-06-22 00:25:08 +02:00
2020-06-15 16:46:01 -04:00
2020-09-11 09:25:06 +01:00
2021-03-15 17:52:11 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2020-08-11 21:05:34 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-19 21:01:24 +02:00
2021-04-16 01:14:14 +03:00
2021-03-14 19:52:12 +01:00
2021-06-22 00:25:08 +02:00
2021-06-22 00:25:08 +02:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-06-10 06:12:18 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-07-12 16:22:47 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-06-30 00:23:24 +01:00
2021-04-07 08:36:15 +01:00
2021-06-27 22:33:25 +01:00
2021-04-11 04:57:44 +02:00
2021-05-07 14:04:17 +02:00
2021-05-07 14:04:17 +02:00
2020-04-06 19:33:34 +03:00
2021-03-14 19:52:12 +01:00
2021-01-02 00:33:27 +08:00
2021-04-11 04:57:44 +02:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2020-09-20 00:44:55 +08:00
2021-05-09 10:32:48 +08:00
2021-05-09 10:32:48 +08:00
2021-05-03 13:27:00 -04:00
2020-10-14 21:07:51 +08:00
2020-10-12 20:01:57 -04:00
2020-12-09 17:20:13 +00:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-01 01:15:08 +02:00
2020-11-28 17:52:29 +02:00
2021-01-24 16:23:05 +01:00
2021-01-24 16:23:05 +01:00
2020-09-20 00:44:55 +08:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-07-15 22:57:51 +03:00
2021-06-27 22:33:25 +01:00
2021-03-14 19:52:12 +01:00
2021-07-15 22:57:51 +03:00
2021-04-15 18:24:59 +03:00
2021-04-15 18:24:59 +03:00
2021-05-02 10:43:01 +01:00
2021-01-02 10:07:43 +08:00
2021-01-20 20:36:55 +00:00
2021-07-15 22:57:51 +03:00
2020-10-12 20:01:57 -04:00
2021-06-17 22:59:28 +02:00
2020-06-17 22:07:58 +03:00
2021-03-14 19:52:12 +01:00
2021-06-16 05:06:27 -04:00
2021-03-14 19:52:12 +01:00
2020-10-05 01:49:33 -04:00
2021-03-14 19:52:12 +01:00
2020-08-16 23:07:38 -04:00
2020-11-27 21:42:08 -05:00
2021-04-17 12:30:58 +01:00
2020-10-12 20:01:57 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-01-24 16:23:05 +01:00
2021-01-24 16:23:05 +01:00
2021-03-14 19:52:12 +01:00
2021-07-15 22:57:51 +03:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2020-11-27 21:42:08 -05:00