hgext/remotefilelog/debugcommands.py
changeset 48935 2cce2fa5bcf7
parent 48875 6000f5b25c9b
child 48946 642e31cb55f0
equal deleted inserted replaced
48934:06de08b36c82 48935:2cce2fa5bcf7
   208         for file in files:
   208         for file in files:
   209             if file == b"repos":
   209             if file == b"repos":
   210                 continue
   210                 continue
   211             filepath = os.path.join(root, file)
   211             filepath = os.path.join(root, file)
   212             size, firstnode, mapping = parsefileblob(filepath, decompress)
   212             size, firstnode, mapping = parsefileblob(filepath, decompress)
   213             for p1, p2, linknode, copyfrom in pycompat.itervalues(mapping):
   213             for p1, p2, linknode, copyfrom in mapping.values():
   214                 if linknode == sha1nodeconstants.nullid:
   214                 if linknode == sha1nodeconstants.nullid:
   215                     actualpath = os.path.relpath(root, path)
   215                     actualpath = os.path.relpath(root, path)
   216                     key = fileserverclient.getcachekey(
   216                     key = fileserverclient.getcachekey(
   217                         b"reponame", actualpath, file
   217                         b"reponame", actualpath, file
   218                     )
   218                     )