]> source.dussan.org Git - gitea.git/commit
Remove manual rollback for failed generated repositories (#20639)
authorGabriel Vasile <gabriel.vasile@email.com>
Tue, 9 Aug 2022 09:41:52 +0000 (12:41 +0300)
committerGitHub <noreply@github.com>
Tue, 9 Aug 2022 09:41:52 +0000 (17:41 +0800)
commit871082bc7b757bf9e1b5e2e389e7cd2f897608e5
tree4cb7cf52a873c2c1a6c55ca903a6c44e5ad43064
parentfba20550f917a808846256d279ac3b4f9e302936
Remove manual rollback for failed generated repositories (#20639)

Generating repositories from a template is done inside a transaction.
Manual rollback on error is not needed and it always results in error
"repository does not exist".

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
services/repository/template.go