#1830: Repository subsets have to be fully self contained
-----------------------------+----------------------------------------------
Reporter: jonas | Owner: cboos
Type: defect | Status: assigned
Priority: normal | Milestone: 0.10
Component: version control | Version: devel
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by John Williams <[EMAIL PROTECTED]>):
I tried this, as suggested merging the diff from the VcRefactoring branch
onto source:[EMAIL PROTECTED]
Applied cleanly, testing with tracd.
Point it at the test repo that is created by my script posted to trac list
in February:
http://lists.edgewall.com/archive/trac/2006-February/006655.html
(trac-bug-1830.sh script added as attachment)
If I point svn_repository to repo/subdir, I can at least browse to the
(virtual) root - this is an improvement on before.
However, attempt to browse to a subdirectory within the subset repo, I
get the following oops:
{{{
Traceback (most recent call last):
File "/home/jwilliams/tmp/trac-test/trac-install/lib/python2.3/site-
packages/trac/web/main.py", line 283, in dispatch_request
dispatcher.dispatch(req)
File "/home/jwilliams/tmp/trac-test/trac-install/lib/python2.3/site-
packages/trac/web/main.py", line 170, in dispatch
resp = chosen_handler.process_request(req)
File "/home/jwilliams/tmp/trac-test/trac-install/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/browser.py", line 106, in
process_request
self._render_directory(req, repos, node, rev)
File "/home/jwilliams/tmp/trac-test/trac-install/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/browser.py", line 137, in
_render_directory
changes = get_changes(self.env, repos, [i['rev'] for i in info])
File "/home/jwilliams/tmp/trac-test/trac-install/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/util.py", line 36, in get_changes
except NoSuchChangeset:
NameError: global name 'NoSuchChangeset' is not defined
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1830>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets