max_preview_size isn't active for changeset viewing
|Reported by:||Owned by:||Jonas Borgström|
|Component:||version control/changeset view||Version:||0.9|
I'm not sure if this is a defect, or if it's intended, but I have a very large text file (it's test input data) in my repository. When I attempt to view it in the browser, I correctly get a message that the file size is too large to preview. However, when I try to view a changeset regarding this file, Apache just goes away to contemplate its navel, and meanwhile access to the site is non-existent. I have never waited long enough to view the final results.
max_preview_size should control the changeset view as well, or maybe there should be another variable. I realize that the "difference" may be much smaller than the total file, but in this case, it is causing a lot of grief.
I think that a work-around might be to change the mime-type of the file in the repository, but I haven't tried that yet. Maybe then Trac won't try to do anything with the file in the changeset view.
If it matters, I am using Apache 2.0.52, Python 2.4.2 with mod_python, under Windows x64.