# HG changeset patch # User Marcin Kuzminski # Date 2017-04-12 18:54:32 # Node ID 00bda173fd39b0c92a149717f7c42c91a355b392 # Parent 00f033ddce952e54c73584d043afb6412d95ca20 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