Added annex.autoupgraderepository configuration
Can be set to false to prevent any automatic repository upgrades. Also, removed direct mode specific upgrade code in Annex.Init, and made needsUpgrade always include the name/path of the repo, so if there's a problem it's clear what repo has the problem. And, made needsUpgrade catch any exceptions that might occur during the upgrade, so it can display a more useful error message than just the exception.
Showing
- Annex/Init.hs 1 addition, 6 deletionsAnnex/Init.hs
- CHANGELOG 2 additions, 0 deletionsCHANGELOG
- Command/Upgrade.hs 7 additions, 3 deletionsCommand/Upgrade.hs
- Types/GitConfig.hs 2 additions, 0 deletionsTypes/GitConfig.hs
- Upgrade.hs 19 additions, 7 deletionsUpgrade.hs
- doc/git-annex-upgrade.mdwn 8 additions, 5 deletionsdoc/git-annex-upgrade.mdwn
- doc/git-annex.mdwn 14 additions, 2 deletionsdoc/git-annex.mdwn
Please register or sign in to comment