# HG changeset patch # User Paul Morelle # Date 1515601465 -3600 # Node ID 29248ea26b298e93608633974eb01088071c68a2 # Parent ed0902e8053e4f9b7a7dce7e420761c5c88d588c upgraderepo: select correct deltareuse depending on actions Only 'redeltafulladd' was taken into account because of a small typo. diff -r ed0902e8053e -r 29248ea26b29 mercurial/upgrade.py --- a/mercurial/upgrade.py Tue Jan 02 18:35:11 2018 +0900 +++ b/mercurial/upgrade.py Wed Jan 10 17:24:25 2018 +0100 @@ -631,7 +631,7 @@ deltareuse = revlog.revlog.DELTAREUSESAMEREVS elif 'redeltamultibase' in actions: deltareuse = revlog.revlog.DELTAREUSESAMEREVS - if 'redeltafulladd' in actions: + elif 'redeltafulladd' in actions: deltareuse = revlog.revlog.DELTAREUSEFULLADD else: deltareuse = revlog.revlog.DELTAREUSEALWAYS