hgext/largefiles/overrides.py
changeset 21275 c7e9fb881a5a
parent 21209 c5d35995d192
child 21524 47b97d9af27e
--- a/hgext/largefiles/overrides.py	Thu May 08 14:58:25 2014 +0000
+++ b/hgext/largefiles/overrides.py	Thu May 08 19:45:22 2014 +0200
@@ -282,6 +282,8 @@
             standin = lfutil.standin(m._files[i])
             if standin in repo[ctx.node()]:
                 m._files[i] = standin
+            elif m._files[i] not in repo[ctx.node()]:
+                m._files.append(standin)
             pats.add(standin)
 
         m._fmap = set(m._files)