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)

Change History (1)

comment:1 Changed 18 years ago by Lewis Baker

Resolution: fixed
Status: newclosed

(In [1211]) Fixed coding error in retrieving change history for a file that has been deleted and re-added.

Fixes #669.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lewis Baker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.