hgext/largefiles/overrides.py
changeset 16074 67a5bc8aeb1d
parent 15983 32b9aee3602c
child 16075 d2e8e79a6361
--- a/hgext/largefiles/overrides.py	Mon Feb 06 15:10:01 2012 -0600
+++ b/hgext/largefiles/overrides.py	Mon Feb 06 12:16:29 2012 +0900
@@ -546,7 +546,7 @@
                 match = oldmatch(ctx, pats, opts, globbed, default)
                 m = copy.copy(match)
                 def tostandin(f):
-                    if lfutil.standin(f) in ctx or lfutil.standin(f) in ctx:
+                    if lfutil.standin(f) in ctx:
                         return lfutil.standin(f)
                     elif lfutil.standin(f) in repo[None]:
                         return None