mercurial/debugcommands.py
changeset 30775 513d68a90398
parent 30774 eaa5607132a2
child 30918 fec3dbaa7f83
--- a/mercurial/debugcommands.py	Thu Nov 24 16:24:09 2016 -0800
+++ b/mercurial/debugcommands.py	Sun Dec 18 16:16:54 2016 -0800
@@ -34,6 +34,7 @@
     localrepo,
     lock as lockmod,
     pycompat,
+    repair,
     revlog,
     scmutil,
     setdiscovery,
@@ -873,4 +874,4 @@
     should complete almost instantaneously and the chances of a consumer being
     unable to access the repository should be low.
     """
-    raise error.Abort(_('not yet implemented'))
+    return repair.upgraderepo(ui, repo, run=run, optimize=optimize)