[Trac-tickets] [The Trac Project] #2343: max_preview_size isn't
active for changeset viewing
The Trac Project
noreply at edgewall.com
Fri Nov 11 11:10:57 CST 2005
#2343: max_preview_size isn't active for changeset viewing
----------------------------------------+-----------------------------------
Reporter: Dan <trac at digidescorp.com> | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: changeset view | Version: 0.9
Severity: normal | Keywords: |
----------------------------------------+-----------------------------------
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.
Maybe {{{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.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2343>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list