Show More
@@ -32,6 +32,7 b' import json' | |||
|
32 | 32 | from rhodecode.lib import diffs |
|
33 | 33 | from rhodecode.lib.vcs.backends.hg.diff import MercurialDiff |
|
34 | 34 | from rhodecode.lib.vcs.backends.git.diff import GitDiff |
|
35 | from vcsserver.utils import safe_int | |
|
35 | 36 | |
|
36 | 37 | |
|
37 | 38 | def get_svn_files(repo, vcs_repo, refs): |
@@ -74,7 +75,7 b' def get_svn_files(repo, vcs_repo, refs):' | |||
|
74 | 75 | # skip dirs |
|
75 | 76 | continue |
|
76 | 77 | |
|
77 | parsed_entry['file_size'] = int(stdout.strip()) | |
|
78 | parsed_entry['file_size'] = safe_int(stdout.strip()) or 0 | |
|
78 | 79 | |
|
79 | 80 | files.append(parsed_entry) |
|
80 | 81 |
General Comments 0
You need to be logged in to leave comments.
Login now