This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
migrations: ensure rollback on error (
#7039
) (
#7040
)
for-closed-social
Rob Watson
5 years ago
committed by
zeripath
parent
355ab0c62c
commit
daaae2aad5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/migrations/gitea.go
+ 1
- 1
modules/migrations/gitea.go
View File
@ -68,10 +68,10 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, includeWiki bool)
IsPrivate
:
repo
.
IsPrivate
,
Wiki
:
includeWiki
,
}
)
g
.
repo
=
r
if
err
!=
nil
{
return
err
}
g
.
repo
=
r
g
.
gitRepo
,
err
=
git
.
OpenRepository
(
r
.
RepoPath
(
)
)
return
err
}
Write
Preview
Loading…
Cancel
Save