Modify ↓
Opened 18 years ago
Closed 18 years ago
#669 closed defect (fixed)
Error retrieving log for a file that has been deleted and readded
Reported by: | Lewis Baker | Owned by: | Lewis Baker |
---|---|---|---|
Priority: | normal | Component: | PerforcePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Trac displays an error with the following stack-trace if the file has a revision with action add
, branch
or import
that is not #1
:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 299, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 189, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/log.py", line 111, in process_request for old_path, old_rev, old_chg in history(limit+1): File "build/bdist.linux-i686/egg/p4trac/api.py", line 769, in get_history AttributeError: 'Node' object has no attribute 'rev'
Attachments (0)
Note: See
TracTickets for help on using
tickets.
(In [1211]) Fixed coding error in retrieving change history for a file that has been deleted and re-added.
Fixes #669.