mercurial/debugcommands.py
changeset 31864 70d163b86316
parent 31689 57a22f699179
child 32209 85dc5a25f1fc
--- 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)