Opened 16 years ago
Last modified 2 years ago
#1549 closed defect
Timeline shows to much — at Initial Version
| Reported by: | Enrico Straube | Owned by: | Lewis Baker |
|---|---|---|---|
| Priority: | normal | Component: | PerforcePlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description
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'
Note: See
TracTickets for help on using
tickets.


