hgext/largefiles/overrides.py
branchstable
changeset 15983 32b9aee3602c
parent 15982 bf502ccc46d7
child 16074 67a5bc8aeb1d
child 16103 3e1efb458e8b
--- a/hgext/largefiles/overrides.py	Wed Jan 25 14:10:01 2012 +0100
+++ b/hgext/largefiles/overrides.py	Wed Jan 25 16:52:16 2012 +0100
@@ -535,6 +535,8 @@
             lfutil.lfdirstate_status(lfdirstate, repo, repo['.'].rev())
         for lfile in modified:
             lfutil.updatestandin(repo, lfutil.standin(lfile))
+        for lfile in missing:
+            os.unlink(repo.wjoin(lfutil.standin(lfile)))
 
         try:
             ctx = repo[opts.get('rev')]