##// END OF EJS Templates
largefiles: use plain wjoin instead of the complex pathto
Mads Kiilerich -
r18150:14e31a63 default
parent child Browse files
Show More
@@ -248,7 +248,7 b' def linktousercache(repo, hash):'
248
248
249 def getstandinmatcher(repo, pats=[], opts={}):
249 def getstandinmatcher(repo, pats=[], opts={}):
250 '''Return a match object that applies pats to the standin directory'''
250 '''Return a match object that applies pats to the standin directory'''
251 standindir = repo.pathto(shortname)
251 standindir = repo.wjoin(shortname)
252 if pats:
252 if pats:
253 # patterns supplied: search standin directory relative to current dir
253 # patterns supplied: search standin directory relative to current dir
254 cwd = repo.getcwd()
254 cwd = repo.getcwd()
@@ -755,7 +755,7 b' def hgclone(orig, ui, opts, *args, **kwa'
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
General Comments 0
You need to be logged in to leave comments. Login now