mercurial/debugcommands.py
changeset 30949 e7d7335819f4
parent 30948 cc2b537b1966
child 30950 7236f949ce3f
--- a/mercurial/debugcommands.py	Thu Feb 02 10:00:26 2017 +0100
+++ b/mercurial/debugcommands.py	Thu Feb 02 10:01:00 2017 +0100
@@ -1495,6 +1495,11 @@
 
         dirstate.rebuild(ctx.node(), ctx.manifest(), changedfiles)
 
+@command('debugrebuildfncache', [], '')
+def debugrebuildfncache(ui, repo):
+    """rebuild the fncache file"""
+    repair.rebuildfncache(ui, repo)
+
 @command('debugupgraderepo', [
     ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
     ('', 'run', False, _('performs an upgrade')),