hgext/largefiles/overrides.py
branchstable
changeset 15983 32b9aee3602c
parent 15982 bf502ccc46d7
child 16074 67a5bc8aeb1d
child 16103 3e1efb458e8b
equal deleted inserted replaced
15982:bf502ccc46d7 15983:32b9aee3602c
   533         lfdirstate = lfutil.openlfdirstate(ui, repo)
   533         lfdirstate = lfutil.openlfdirstate(ui, repo)
   534         (modified, added, removed, missing, unknown, ignored, clean) = \
   534         (modified, added, removed, missing, unknown, ignored, clean) = \
   535             lfutil.lfdirstate_status(lfdirstate, repo, repo['.'].rev())
   535             lfutil.lfdirstate_status(lfdirstate, repo, repo['.'].rev())
   536         for lfile in modified:
   536         for lfile in modified:
   537             lfutil.updatestandin(repo, lfutil.standin(lfile))
   537             lfutil.updatestandin(repo, lfutil.standin(lfile))
       
   538         for lfile in missing:
       
   539             os.unlink(repo.wjoin(lfutil.standin(lfile)))
   538 
   540 
   539         try:
   541         try:
   540             ctx = repo[opts.get('rev')]
   542             ctx = repo[opts.get('rev')]
   541             oldmatch = None # for the closure
   543             oldmatch = None # for the closure
   542             def override_match(ctx, pats=[], opts={}, globbed=False,
   544             def override_match(ctx, pats=[], opts={}, globbed=False,