Mercurial > hg
comparison hgext/largefiles/reposetup.py @ 24007:240343e13c4d
largefiles: update _subdirlfs() comment
http://www.selenic.com/pipermail/mercurial-devel/2015-February/065958.html
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 01 Feb 2015 14:05:15 -0500 |
parents | df463ca0adef |
children | bb11081562d7 |
comparison
equal
deleted
inserted
replaced
24006:42fa7eeb858e | 24007:240343e13c4d |
---|---|
324 for lf in lfiles: | 324 for lf in lfiles: |
325 if self.dirstate.normalize(lf).startswith(d): | 325 if self.dirstate.normalize(lf).startswith(d): |
326 actualfiles.append(lf) | 326 actualfiles.append(lf) |
327 if not matcheddir: | 327 if not matcheddir: |
328 # There may still be normal files in the dir, so | 328 # There may still be normal files in the dir, so |
329 # make sure a directory is in the list, which | 329 # make sure _a_ directory is in the list, which |
330 # forces status to walk and call the match | 330 # forces status/dirstate to walk all files and |
331 # function on the matcher. Windows does NOT | 331 # call the match function on the matcher, even |
332 # require this. | 332 # on case sensitive filesytems. |
333 actualfiles.append('.') | 333 actualfiles.append('.') |
334 matcheddir = True | 334 matcheddir = True |
335 # Nothing in dir, so readd it | 335 # Nothing in dir, so readd it |
336 # and let commit reject it | 336 # and let commit reject it |
337 if not matcheddir: | 337 if not matcheddir: |