Changes between Initial Version and Version 5 of Ticket #10267
- Timestamp:
- Dec 22, 2014, 7:41:55 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10267
- Property Component general → version control/changeset view
- Property Priority normal → high
- Property Milestone → next-stable-1.0.x
- Property Keywords diff added
- Property Severity normal → major
-
Ticket #10267 – Description
initial v5 3 3 Looks like the issue is in: versioncontrol/web_ui/changeset.py 4 4 5 The _content_changes method tries to do a diff of anything that isn't a binary. This is fine for most text files, unless they are big (like even 5 to 10 megs seems a bit much for the diffing method used). Anyway, I simply added the following to _content_changes:5 The `_content_changes` method tries to do a diff of anything that isn't a binary. This is fine for most text files, unless they are big (like even 5 to 10 megs seems a bit much for the diffing method used). Anyway, I simply added the following to `_content_changes`: 6 6 7 if (len(old_content) > 100000 or len(new_content) > 100000): 8 return None 7 {{{#!python 8 if (len(old_content) > 100000 or len(new_content) > 100000): 9 return None 10 }}} 9 11 10 12 (Sorry if it isn't proper pep8)