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-04-02 01:16:00 +02:00
2021-03-07 08:12:43 +00:00
2020-10-14 21:07:51 +08:00
2021-05-13 16:10:29 +02:00
2021-02-10 21:28:32 +00:00
2020-08-23 14:15:29 +01:00
2021-07-08 20:12:20 +02:00
2021-06-27 21:37:42 -04:00
2021-01-26 22:02:42 +01:00
2021-05-10 16:38:37 -04:00
2021-06-17 20:01:33 +02:00
2021-03-01 22:08:10 +01:00
2021-05-19 10:42:36 -04:00
2020-04-05 07:20:50 +01:00
2021-06-06 14:02:34 +08:00
2021-04-17 14:46:30 +02:00
2021-06-11 00:26:32 +03:00
2020-10-02 23:37:53 -04:00
2020-11-13 16:13:41 -05:00
2021-04-20 12:01:58 -04:00
2021-04-26 14:42:12 +02:00
2021-04-22 22:30:18 +02:00
2021-04-06 15:25:31 -04:00
2021-07-15 22:57:51 +03:00
2021-07-09 02:47:27 +02:00
2020-11-28 19:37:58 -05:00
2021-06-17 22:59:28 +02:00
2021-05-03 22:30:30 +01:00
2021-05-31 02:17:34 -04:00
2020-12-22 07:40:57 +08:00
2020-09-08 17:06:39 -05:00
2019-06-12 15:41:28 -04:00
2021-05-10 21:14:59 +08:00
2021-02-03 22:36:38 +01:00
2021-04-20 12:01:58 -04:00
2021-05-12 18:48:11 +01:00
2021-03-01 22:08:10 +01:00
2021-06-26 08:31:03 +01:00
2021-03-21 17:07:37 +01:00
2021-05-07 20:01:25 +02:00
2020-10-05 01:49:33 -04:00
2021-03-01 22:08:10 +01:00
2021-06-11 00:26:32 +03:00
2021-06-11 00:26:32 +03:00
2021-07-15 22:57:51 +03:00
2021-06-18 19:47:34 +08:00
2020-07-13 21:16:40 +01:00
2020-01-15 23:58:33 +02:00
2021-06-17 22:59:28 +02:00
2021-03-11 23:43:04 -05:00
2021-01-30 10:55:53 +02:00
2021-01-28 13:29:22 +01:00
2021-04-15 16:47:43 +02:00
2020-10-11 21:27:20 +01:00
2020-12-27 11:34:19 +08:00
2020-04-05 07:20:50 +01:00
2021-07-15 22:57:51 +03:00
2021-01-26 16:36:53 +01:00
2021-05-27 10:02:39 -04:00