##// END OF EJS Templates
largefiles: ensure destination directory exists before findfile links to there...
Hao Lian -
r15408:db8b0ee7 stable
parent child Browse files
Show More
@@ -110,7 +110,9 b' def findfile(repo, hash):'
110 110 repo.ui.note(_('Found %s in store\n') % hash)
111 111 elif inusercache(repo.ui, hash):
112 112 repo.ui.note(_('Found %s in system cache\n') % hash)
113 link(usercachepath(repo.ui, hash), storepath(repo, hash))
113 path = storepath(repo, hash)
114 util.makedirs(os.path.dirname(path))
115 link(usercachepath(repo.ui, hash), path)
114 116 else:
115 117 return None
116 118 return storepath(repo, hash)
General Comments 0
You need to be logged in to leave comments. Login now