Modify

Opened 7 years ago

Last modified 6 years ago

#1549 assigned defect

Timeline shows to much

Reported by: enrico.straube@… Owned by: lewisbaker
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by athomas)

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 (3)

comment:1 Changed 7 years ago by athomas

  • Description modified (diff)

comment:2 Changed 7 years ago by lewisbaker

  • Status changed from new to assigned

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 6 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 ?

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.