# HG changeset patch # User Mads Kiilerich # Date 1362056715 -3600 # Node ID 1793251e75c828f18d96e17501d1b6417299380d # Parent c2d079387b2cdb25da2edc3650d19d00597cafaa largefiles: remove wrong comment on standin matcher and code for creating dirs The existence of these directories could not be relied on anyway and all dependencies on them should have been removed. diff -r c2d079387b2c -r 1793251e75c8 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Thu Feb 28 14:51:59 2013 +0100 +++ b/hgext/largefiles/overrides.py Thu Feb 28 14:05:15 2013 +0100 @@ -767,17 +767,6 @@ sourcerepo, destrepo = result repo = destrepo.local() - # The .hglf directory must exist for the standin matcher to match - # anything (which listlfiles uses for each rev), and .hg/largefiles is - # assumed to exist by the code that caches the downloaded file. These - # directories exist if clone updated to any rev. (If the repo does not - # have largefiles, download never gets to the point of needing - # .hg/largefiles, and the standin matcher won't match anything anyway.) - if 'largefiles' in repo.requirements: - if opts.get('noupdate'): - util.makedirs(repo.wjoin(lfutil.shortname)) - util.makedirs(repo.join(lfutil.longname)) - # Caching is implicitly limited to 'rev' option, since the dest repo was # truncated at that point. The user may expect a download count with # this option, so attempt whether or not this is a largefile repo.