Patchwork [2,of,2] largefiles: update _subdirlfs() comment

login
register
mail settings
Submitter Matt Harbison
Date Feb. 3, 2015, 3:41 a.m.
Message ID <7d240b04ddbd61a67c6b.1422934863@Envy>
Download mbox | patch
Permalink /patch/7624/
State Accepted
Headers show

Comments

Matt Harbison - Feb. 3, 2015, 3:41 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@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
Pierre-Yves David - Feb. 3, 2015, 11:53 a.m.
On 02/03/2015 03:41 AM, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1422817515 18000
> #      Sun Feb 01 14:05:15 2015 -0500
> # Node ID 7d240b04ddbd61a67c6b6ac8bdf3746d1d6afdf7
> # Parent  e91865b59a4ef9eaf56cc20bc61c2665a08402db
> largefiles: update _subdirlfs() comment

These two a pushed to the clowncopter.

Thanks for giving love to largefile.

Patch

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