webapp: After upgrading a git repository to git-annex, fix bug that made it temporarily not be synced with.

This commit is contained in:
Joey Hess 2014-01-26 13:57:05 -04:00
parent 5fc2d760ea
commit 78d0fd389e
2 changed files with 4 additions and 1 deletions

View file

@ -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

2
debian/changelog vendored
View file

@ -35,6 +35,8 @@ git-annex (5.20140118) UNRELEASED; urgency=medium
url every time before trying the right url. Needs annex-bare to be
set to false, which is done when initially probing the uuid of a
http remote.
* webapp: After upgrading a git repository to git-annex, fix
bug that made it temporarily not be synced with.
-- Joey Hess <joeyh@debian.org> Sat, 18 Jan 2014 11:54:17 -0400