Opened 11 years ago

Last modified 10 years ago

#1549 assigned defect

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)


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/", line 406, in dispatch_request
  File "/usr/local/lib/python2.5/site-packages/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/web_ui/", line 216, in process_request
    repos.rev_older_than(new, repos.youngest_rev),
  File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/", line 210, in <lambda>
    youngest_rev = property(lambda x: x.get_youngest_rev())
  File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/", line 218, in get_youngest_rev
    return self.youngest
AttributeError: 'PerforceCachedRepository' object has no attribute 'youngest'

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 11 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 10 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 ?

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Lewis Baker.

Add Comment

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

Note: See TracTickets for help on using tickets.