equal
deleted
inserted
replaced
146 for filenamehash, node in self._listkeys(): |
146 for filenamehash, node in self._listkeys(): |
147 existing.setdefault(filenamehash, []).append(node) |
147 existing.setdefault(filenamehash, []).append(node) |
148 |
148 |
149 filenamemap = self._resolvefilenames(existing.keys()) |
149 filenamemap = self._resolvefilenames(existing.keys()) |
150 |
150 |
151 for filename, sha in filenamemap.iteritems(): |
151 for filename, sha in pycompat.iteritems(filenamemap): |
152 yield (filename, existing[sha]) |
152 yield (filename, existing[sha]) |
153 |
153 |
154 def _resolvefilenames(self, hashes): |
154 def _resolvefilenames(self, hashes): |
155 """Given a list of filename hashes that are present in the |
155 """Given a list of filename hashes that are present in the |
156 remotefilelog store, return a mapping from filename->hash. |
156 remotefilelog store, return a mapping from filename->hash. |