--- a/mercurial/debugcommands.py Sun Apr 09 19:08:24 2017 +0200
+++ b/mercurial/debugcommands.py Fri Apr 07 18:53:17 2017 +0200
@@ -62,6 +62,7 @@
streamclone,
templater,
treediscovery,
+ upgrade,
util,
vfs as vfsmod,
)
@@ -2072,7 +2073,7 @@
should complete almost instantaneously and the chances of a consumer being
unable to access the repository should be low.
"""
- return repair.upgraderepo(ui, repo, run=run, optimize=optimize)
+ return upgrade.upgraderepo(ui, repo, run=run, optimize=optimize)
@command('debugwalk', commands.walkopts, _('[OPTION]... [FILE]...'),
inferrepo=True)