Mercurial > hg
comparison hgext/largefiles/overrides.py @ 18150:14e31a631e41
largefiles: use plain wjoin instead of the complex pathto
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 13 Dec 2012 19:19:06 +0100 |
parents | e16982a74bf7 |
children | 4454607b5d25 |
comparison
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. |