Opened 19 years ago
Closed 19 years ago
#103 closed defect (fixed)
Unable to display a change that is older than what is in the history
Reported by: | Jason Parks | Owned by: | ttressieres |
---|---|---|---|
Priority: | normal | Component: | PerforcePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Here is the traceback:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 87, in process_request
self._render_html(req, repos, chgset, diff_options)
File "build/bdist.linux-i686/egg/p4trac/p4trac.py", line 605, in _render_html File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 156, in _render_html
previous_rev = repos.previous_rev(chgset.rev)
File "build/bdist.linux-i686/egg/p4trac/p4trac.py", line 213, in previous_rev
ValueError: list.index(x): x not in list
Attachments (1)
Change History (5)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
comment:2 Changed 19 years ago by
Changed 19 years ago by
comment:3 Changed 19 years ago by
I've attached a patch that will not crash when going to an older revision.
i need to refactor the history handling. Maybe i will do it this week.