mercurial/debugcommands.py
changeset 30949 e7d7335819f4
parent 30948 cc2b537b1966
child 30950 7236f949ce3f
equal deleted inserted replaced
30948:cc2b537b1966 30949:e7d7335819f4
  1493             dsnotadded = set(f for f in dsonly if dirstate[f] != 'a')
  1493             dsnotadded = set(f for f in dsonly if dirstate[f] != 'a')
  1494             changedfiles = manifestonly | dsnotadded
  1494             changedfiles = manifestonly | dsnotadded
  1495 
  1495 
  1496         dirstate.rebuild(ctx.node(), ctx.manifest(), changedfiles)
  1496         dirstate.rebuild(ctx.node(), ctx.manifest(), changedfiles)
  1497 
  1497 
       
  1498 @command('debugrebuildfncache', [], '')
       
  1499 def debugrebuildfncache(ui, repo):
       
  1500     """rebuild the fncache file"""
       
  1501     repair.rebuildfncache(ui, repo)
       
  1502 
  1498 @command('debugupgraderepo', [
  1503 @command('debugupgraderepo', [
  1499     ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
  1504     ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
  1500     ('', 'run', False, _('performs an upgrade')),
  1505     ('', 'run', False, _('performs an upgrade')),
  1501 ])
  1506 ])
  1502 def debugupgraderepo(ui, repo, run=False, optimize=None):
  1507 def debugupgraderepo(ui, repo, run=False, optimize=None):