mercurial/debugcommands.py
changeset 50113 dae8dda6f582
parent 50000 1f28172cfce9
child 50317 af776c3d5c3e
equal deleted inserted replaced
50112:62158471d038 50113:dae8dda6f582
  3140             manifestonly = manifestfiles - dirstatefiles
  3140             manifestonly = manifestfiles - dirstatefiles
  3141             dsonly = dirstatefiles - manifestfiles
  3141             dsonly = dirstatefiles - manifestfiles
  3142             dsnotadded = {f for f in dsonly if not dirstate.get_entry(f).added}
  3142             dsnotadded = {f for f in dsonly if not dirstate.get_entry(f).added}
  3143             changedfiles = manifestonly | dsnotadded
  3143             changedfiles = manifestonly | dsnotadded
  3144 
  3144 
  3145         dirstate.rebuild(ctx.node(), ctx.manifest(), changedfiles)
  3145         with dirstate.changing_parents(repo):
  3146         dirstate.write(repo.currenttransaction())
  3146             dirstate.rebuild(ctx.node(), ctx.manifest(), changedfiles)
  3147 
  3147 
  3148 
  3148 
  3149 @command(
  3149 @command(
  3150     b'debugrebuildfncache',
  3150     b'debugrebuildfncache',
  3151     [
  3151     [