webapp: After upgrading a git repository to git-annex, fix bug that made it temporarily not be synced with.
This commit is contained in:
parent
5fc2d760ea
commit
78d0fd389e
2 changed files with 4 additions and 1 deletions
|
@ -264,6 +264,7 @@ getUpgradeRepositoryR r = go =<< liftAnnex (repoIdRemote r)
|
|||
liftAnnex $ setConfig
|
||||
(remoteConfig (Remote.repo rmt) "ignore")
|
||||
(Git.Config.boolConfig False)
|
||||
liftAssistant $ syncRemote rmt
|
||||
liftAnnex $ void Remote.remoteListRefresh
|
||||
liftAssistant updateSyncRemotes
|
||||
liftAssistant $ syncRemote rmt
|
||||
redirect DashboardR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue