Mercurial > hg
changeset 35598:29248ea26b29
upgraderepo: select correct deltareuse depending on actions
Only 'redeltafulladd' was taken into account because of a small typo.
author | Paul Morelle <paul.morelle@octobus.net> |
---|---|
date | Wed, 10 Jan 2018 17:24:25 +0100 |
parents | ed0902e8053e |
children | af25237be091 |
files | mercurial/upgrade.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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