# HG changeset patch # User Marcin Kuzminski # Date 2017-04-12 18:54:32 # Node ID e363bbc7c9962220e8f58511a30918e2c37f5c47 # Parent a402cae58cd8ba5ce1fe57fc32b9793056c753f3 nodes: fetching largefiles content is commit independent because the pointes is unique id itself. diff --git a/rhodecode/lib/vcs/nodes.py b/rhodecode/lib/vcs/nodes.py --- a/rhodecode/lib/vcs/nodes.py +++ b/rhodecode/lib/vcs/nodes.py @@ -785,11 +785,8 @@ class LargeFileNode(FileNode): @LazyProperty def raw_bytes(self): - if self.commit: - with open(self.path, 'rb') as f: - content = f.read() - else: - content = self._content + with open(self.path, 'rb') as f: + content = f.read() return content @LazyProperty