hgext/largefiles/overrides.py
changeset 18150 14e31a631e41
parent 18144 e16982a74bf7
child 18152 4454607b5d25
equal deleted inserted replaced
18149:2dcc3653b361 18150:14e31a631e41
   753         # directories exist if clone updated to any rev.  (If the repo does not
   753         # directories exist if clone updated to any rev.  (If the repo does not
   754         # have largefiles, download never gets to the point of needing
   754         # have largefiles, download never gets to the point of needing
   755         # .hg/largefiles, and the standin matcher won't match anything anyway.)
   755         # .hg/largefiles, and the standin matcher won't match anything anyway.)
   756         if 'largefiles' in repo.requirements:
   756         if 'largefiles' in repo.requirements:
   757             if opts.get('noupdate'):
   757             if opts.get('noupdate'):
   758                 util.makedirs(repo.pathto(lfutil.shortname))
   758                 util.makedirs(repo.wjoin(lfutil.shortname))
   759                 util.makedirs(repo.join(lfutil.longname))
   759                 util.makedirs(repo.join(lfutil.longname))
   760 
   760 
   761         # Caching is implicitly limited to 'rev' option, since the dest repo was
   761         # Caching is implicitly limited to 'rev' option, since the dest repo was
   762         # truncated at that point.  The user may expect a download count with
   762         # truncated at that point.  The user may expect a download count with
   763         # this option, so attempt whether or not this is a largefile repo.
   763         # this option, so attempt whether or not this is a largefile repo.