equal
deleted
inserted
replaced
23 super(localstore, self).__init__(ui, repo, self.remote.url()) |
23 super(localstore, self).__init__(ui, repo, self.remote.url()) |
24 |
24 |
25 def put(self, source, hash): |
25 def put(self, source, hash): |
26 if lfutil.instore(self.remote, hash): |
26 if lfutil.instore(self.remote, hash): |
27 return |
27 return |
28 lfutil.link(lfutil.storepath(self.repo, hash), |
28 lfutil.link(source, lfutil.storepath(self.remote, hash)) |
29 lfutil.storepath(self.remote, hash)) |
|
30 |
29 |
31 def exists(self, hashes): |
30 def exists(self, hashes): |
32 retval = {} |
31 retval = {} |
33 for hash in hashes: |
32 for hash in hashes: |
34 retval[hash] = lfutil.instore(self.remote, hash) |
33 retval[hash] = lfutil.instore(self.remote, hash) |