#1830: Repository subsets have to be fully self contained
-----------------------------+----------------------------------------------
 Reporter:  jonas            |        Owner:  cboos
     Type:  defect           |       Status:  new  
 Priority:  normal           |    Milestone:  0.10 
Component:  version control  |      Version:  devel
 Severity:  normal           |   Resolution:       
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Damn, I spoke too soon. To workaround this bug, I had set the problematic
 project's {{{repository_dir}}} to the repository root. Now that I've
 pointed it back to a subset of the repository, it's happening again, both
 in the Changeset view and in the Browser view too.[[BR]]
 In the Changeset view, the error is:
 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py",
 line 208, in handler
     dispatch_request(mpr.path_info, mpr, env)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 141, in
 dispatch_request
     dispatcher.dispatch(req)
   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 109, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "/usr/lib/python2.3/site-
 packages/trac/versioncontrol/web_ui/changeset.py", line 216, in
 process_request
     diff_args, diff_options)
   File "/usr/lib/python2.3/site-
 packages/trac/versioncontrol/web_ui/changeset.py", line 425, in
 _render_html
     diffs = _content_changes(old_node, new_node)
   File "/usr/lib/python2.3/site-
 packages/trac/versioncontrol/web_ui/changeset.py", line 382, in
 _content_changes
     data = old_node.get_content().read()
 AttributeError: 'NoneType' object has no attribute 'read'
 }}}
 and in the Browser view:
 {{{
 No changeset 1162 in the repository
 }}}
 I'm using r2865

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

Reply via email to