wxiaoguang
a6450494c3
Fix unclear IsRepositoryExist
logic ( #24374 )
...
There was only one `IsRepositoryExist` function, it did: `has && isDir`
However it's not right, and it would cause 500 error when creating a new
repository if the dir exists.
Then, it was changed to `has || isDir`, it is still incorrect, it
affects the "adopt repo" logic.
To make the logic clear:
* IsRepositoryModelOrDirExist
* IsRepositoryModelExist
2023-04-28 14:14:26 -04:00
..
2023-04-22 22:16:54 -04:00
2023-04-12 18:16:45 +08:00
2023-04-12 18:16:45 +08:00
2023-04-21 13:15:49 -04:00
2023-04-07 21:25:49 +08:00
2023-04-13 18:41:04 -04:00
2023-04-22 14:53:00 -04:00
2023-04-27 02:06:45 -04:00
2023-04-17 11:37:23 +08:00
2023-04-24 05:50:58 -04:00
2023-04-22 17:56:27 -04:00
2023-04-19 22:08:01 -04:00
2023-03-14 16:09:01 -04:00
2023-03-08 15:40:04 -05:00
2023-03-29 14:32:26 +08:00
2023-04-25 23:06:39 +08:00
2023-04-10 16:44:02 +08:00
2023-04-22 17:56:27 -04:00
2023-04-24 05:50:58 -04:00
2023-04-22 17:56:27 -04:00
2023-04-13 18:41:04 -04:00
2023-04-12 18:16:45 +08:00
2023-04-22 17:56:27 -04:00
2023-04-22 17:56:27 -04:00
2023-04-17 23:10:40 -04:00
2023-04-12 18:16:45 +08:00
2023-04-24 05:50:58 -04:00
2023-04-28 14:14:26 -04:00
2023-04-22 17:56:27 -04:00
2023-04-13 18:41:04 -04:00
2023-04-26 11:22:54 -04:00
2023-04-22 17:56:27 -04:00
2023-04-27 11:51:20 +08:00
2023-04-12 18:16:45 +08:00
2023-04-26 02:52:50 -04:00
2023-04-22 17:56:27 -04:00
2023-04-25 15:48:30 -04:00
2023-04-22 17:56:27 -04:00
2023-03-07 22:40:41 -05:00
2023-04-22 17:56:27 -04:00
2023-04-27 02:06:45 -04:00