hgext/largefiles/reposetup.py
branchstable
changeset 16281 d8cc67114dc3
parent 16141 f346de4dff57
child 16282 50247a7a9983
--- a/hgext/largefiles/reposetup.py	Thu Mar 22 17:47:00 2012 -0500
+++ b/hgext/largefiles/reposetup.py	Thu Mar 22 23:58:47 2012 +0900
@@ -137,7 +137,7 @@
                 # Create a copy of match that matches standins instead
                 # of largefiles.
                 def tostandin(file):
-                    if inctx(lfutil.standin(file), ctx2):
+                    if working and lfutil.standin(file) in repo.dirstate:
                         return lfutil.standin(file)
                     return file