[Trac-tickets] [The Trac Project] #2044: Using a 'subrepository' in
Trac generates errors
The Trac Project
noreply at edgewall.com
Sun Sep 11 08:42:28 CDT 2005
#2044: Using a 'subrepository' in Trac generates errors
----------------------+-----------------------------------------------------
Reporter: Manuzhai | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: timeline | Version: devel
Severity: normal | Keywords: |
----------------------+-----------------------------------------------------
I'm trying to use the subrepository feature in Trac, that allows for
limiting the changesets and the browser to a certain directory in the SVN
repos. In my case, the repos is at /var/svn/xm and I'm trying to watch the
/joss dir in the repos. When viewing the timeline, I now get the following
traceback:
{{{
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py",
line 205, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/Timeline.py", line 137, in
process_request
filters)
File "/var/www/trac/trac/versioncontrol/web_ui/changeset.py", line 109,
in get_timeline_events
chgset = repos.get_changeset(rev)
File "/var/www/trac/trac/versioncontrol/cache.py", line 42, in
get_changeset
self.sync()
File "/var/www/trac/trac/versioncontrol/cache.py", line 60, in sync
current_rev = self.repos.next_rev(youngest_stored)
File "/var/www/trac/trac/versioncontrol/svn_fs.py", line 272, in
next_rev
idx = self.history.index(rev)
ValueError: list.index(x): x not in list
}}}
This is with r2235. (I think there should be a component for the
versioncontrol stuff, btw.)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2044>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list