files: ensure we ask hg vcsserver check for largefiles for path and commit, else we cache path that might become a LF node later on

This commit is contained in:
Daniel Dourvaris 2019-08-23 20:56:03 +02:00
parent a80fd47e11
commit e9ca6badf7

View file

@ -339,7 +339,7 @@ class MercurialCommit(base.BaseCommit):
return self.nodes[path]
def get_largefile_node(self, path):
pointer_spec = self._remote.is_large_file(path)
pointer_spec = self._remote.is_large_file(self.raw_id, path)
if pointer_spec:
# content of that file regular FileNode is the hash of largefile
file_id = self.get_file_content(path).strip()