mercurial/narrowspec.py
changeset 47752 5bcd305389c7
parent 47739 6a06155dfaef
child 48230 7ed0fc687220
equal deleted inserted replaced
47751:d25eb277e925 47752:5bcd305389c7
   341     for f in sorted(status.unknown):
   341     for f in sorted(status.unknown):
   342         repo.ui.status(_(b'not deleting unknown file %s\n') % uipathfn(f))
   342         repo.ui.status(_(b'not deleting unknown file %s\n') % uipathfn(f))
   343     for f in sorted(status.ignored):
   343     for f in sorted(status.ignored):
   344         repo.ui.status(_(b'not deleting ignored file %s\n') % uipathfn(f))
   344         repo.ui.status(_(b'not deleting ignored file %s\n') % uipathfn(f))
   345     for f in clean + trackeddirty:
   345     for f in clean + trackeddirty:
   346         ds.drop(f)
   346         ds.update_file(f, p1_tracked=False, wc_tracked=False)
   347 
   347 
   348     pctx = repo[b'.']
   348     pctx = repo[b'.']
   349 
   349 
   350     # only update added files that are in the sparse checkout
   350     # only update added files that are in the sparse checkout
   351     addedmatch = matchmod.intersectmatchers(addedmatch, sparse.matcher(repo))
   351     addedmatch = matchmod.intersectmatchers(addedmatch, sparse.matcher(repo))