[PATCH 2 of 2] largefiles: update _subdirlfs() comment

Matt Harbison mharbison72 at gmail.com
Mon Feb 2 21:41:03 CST 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1422817515 18000
#      Sun Feb 01 14:05:15 2015 -0500
# Node ID 7d240b04ddbd61a67c6b6ac8bdf3746d1d6afdf7
# Parent  e91865b59a4ef9eaf56cc20bc61c2665a08402db
largefiles: update _subdirlfs() comment

http://www.selenic.com/pipermail/mercurial-devel/2015-February/065958.html

diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py
+++ b/hgext/largefiles/reposetup.py
@@ -326,10 +326,10 @@
                             actualfiles.append(lf)
                             if not matcheddir:
                                 # 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.
+                                # make sure _a_ directory is in the list, which
+                                # forces status/dirstate to walk all files and
+                                # call the match function on the matcher, even
+                                # on case sensitive filesytems.
                                 actualfiles.append('.')
                                 matcheddir = True
                 # Nothing in dir, so readd it


More information about the Mercurial-devel mailing list