Modify

Opened 18 years ago

Closed 4 years ago

#1549 closed defect (wontfix)

Timeline shows to much

Reported by: Enrico Straube Owned by: Lewis Baker
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by Alec Thomas)

Hello

I have tried to setup the perforce config in the trac.ini file like:
repository_type = perforce
repository_dir = p4://user:password@perforce:1666/path_of_depot?unicode=0

Now the Timeline shows all changes in the perfoce server and not only the changes under the depot the I have configure.

A click on any changesets in the Timeline or a click on the Browse Source button I get the following error message:

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/web_ui/changeset.py", line 216, in process_request
    repos.rev_older_than(new, repos.youngest_rev),
  File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 210, in <lambda>
    youngest_rev = property(lambda x: x.get_youngest_rev())
  File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/cache.py", line 218, in get_youngest_rev
    return self.youngest
AttributeError: 'PerforceCachedRepository' object has no attribute 'youngest'

Attachments (0)

Change History (4)

comment:1 Changed 18 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 17 years ago by Lewis Baker

Status: newassigned

The AttributeError: 'PerforceCachedRepository' object has no attribute 'youngest' error should now be fixed in the trac-0.10 branch. See [2503].

I'll look into the timeline issue.

comment:3 Changed 16 years ago by mgesner@…

I am still encountering this issue. I have not attempted the workspace solution as of yet, but have heard issues using workspaces as well. Has any progress been made here ?

comment:4 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: assignedclosed

Plugin is deprecated.

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.