Show More
@@ -110,7 +110,9 b' def findfile(repo, hash):' | |||||
110 | repo.ui.note(_('Found %s in store\n') % hash) |
|
110 | repo.ui.note(_('Found %s in store\n') % hash) | |
111 | elif inusercache(repo.ui, hash): |
|
111 | elif inusercache(repo.ui, hash): | |
112 | repo.ui.note(_('Found %s in system cache\n') % hash) |
|
112 | repo.ui.note(_('Found %s in system cache\n') % hash) | |
113 |
|
|
113 | path = storepath(repo, hash) | |
|
114 | util.makedirs(os.path.dirname(path)) | |||
|
115 | link(usercachepath(repo.ui, hash), path) | |||
114 | else: |
|
116 | else: | |
115 | return None |
|
117 | return None | |
116 | return storepath(repo, hash) |
|
118 | return storepath(repo, hash) |
General Comments 0
You need to be logged in to leave comments.
Login now