hgext/largefiles/overrides.py
changeset 32301 8a87bfc5bebb
parent 32157 09fb3d3b1b3a
child 32308 e8569cc131d1
--- a/hgext/largefiles/overrides.py	Tue May 16 23:40:29 2017 -0700
+++ b/hgext/largefiles/overrides.py	Tue May 16 17:47:27 2017 -0700
@@ -347,14 +347,12 @@
                 else:
                     f = m._cwd + '/' + f
                 return back + lfutil.standin(f)
-
-            pats.update(fixpats(f, tostandin) for f in p)
         else:
             def tostandin(f):
                 if lfutil.isstandin(f):
                     return f
                 return lfutil.standin(f)
-            pats.update(fixpats(f, tostandin) for f in p)
+        pats.update(fixpats(f, tostandin) for f in p)
 
         for i in range(0, len(m._files)):
             # Don't add '.hglf' to m.files, since that is already covered by '.'