equal
deleted
inserted
replaced
202 path = storepath(repo, hash, False) |
202 path = storepath(repo, hash, False) |
203 |
203 |
204 if instore(repo, hash): |
204 if instore(repo, hash): |
205 return (path, True) |
205 return (path, True) |
206 elif repo.shared() and instore(repo, hash, True): |
206 elif repo.shared() and instore(repo, hash, True): |
207 return storepath(repo, hash, True) |
207 return storepath(repo, hash, True), True |
208 |
208 |
209 return (path, False) |
209 return (path, False) |
210 |
210 |
211 def copyfromcache(repo, hash, filename): |
211 def copyfromcache(repo, hash, filename): |
212 '''Copy the specified largefile from the repo or system cache to |
212 '''Copy the specified largefile from the repo or system cache to |