hgext/largefiles/reposetup.py
branchstable
changeset 23923 ab6fd3205dad
parent 23660 1ec6dbb9b216
child 23958 df463ca0adef
--- a/hgext/largefiles/reposetup.py	Sun Jan 18 16:38:56 2015 -0500
+++ b/hgext/largefiles/reposetup.py	Sun Jan 18 15:15:40 2015 -0500
@@ -326,7 +326,12 @@
                         if self.dirstate.normalize(lf).startswith(d):
                             actualfiles.append(lf)
                             if not matcheddir:
-                                actualfiles.append(lfutil.standin(f))
+                                # There may still be normal files in the dir, so
+                                # make sure a directory is in the list, which
+                                # forces status to walk and call the match
+                                # function on the matcher.  Windows does NOT
+                                # require this.
+                                actualfiles.append('.')
                                 matcheddir = True
                 # Nothing in dir, so readd it
                 # and let commit reject it