##// END OF EJS Templates
rcextensions: fixed pre-files extractor return code support.
milka -
r4645:cc045b13 default
parent child
Show More
@@ -32,6 +32,7 import json
32 from rhodecode.lib import diffs
32 from rhodecode.lib import diffs
33 from rhodecode.lib.vcs.backends.hg.diff import MercurialDiff
33 from rhodecode.lib.vcs.backends.hg.diff import MercurialDiff
34 from rhodecode.lib.vcs.backends.git.diff import GitDiff
34 from rhodecode.lib.vcs.backends.git.diff import GitDiff
35 from vcsserver.utils import safe_int
35
36
36
37
37 def get_svn_files(repo, vcs_repo, refs):
38 def get_svn_files(repo, vcs_repo, refs):
@@ -74,7 +75,7 def get_svn_files(repo, vcs_repo, refs):
74 # skip dirs
75 # skip dirs
75 continue
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 files.append(parsed_entry)
80 files.append(parsed_entry)
80
81
General Comments 0
You need to be logged in to leave comments. Login now