Mailing List Archive

[The Trac Project] #3875: Changesets that have only added new files throw SubversionException: ('No such revision'...
#3875: Changesets that have only added new files throw SubversionException: ('No
such revision'...
---------------------------------------+------------------------------------
Reporter: james@jamesstephenson.net | Owner: cboos
Type: defect | Status: new
Priority: normal | Milestone:
Component: changeset view | Version: 0.10
Severity: normal | Keywords:
---------------------------------------+------------------------------------
Seems that with the Trac 0.10, any repository that has a changeset which
only added new files (no modifications to existing files, only new files
were added) throws the "No such revision" error with Trac.

Doing a "trac-admin resync" does not solve this issue, which is always the
typical solution proposed for these issues.

{{{
Python Traceback

Traceback (most recent call last):
File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line 356,
in dispatch_request
dispatcher.dispatch(req)
File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line 224,
in dispatch
resp = chosen_handler.process_request(req)
File "/opt/csw/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/changeset.py", line 255, in
process_request
diff_args, diff_options)
File "/opt/csw/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/changeset.py", line 477, in
_render_html
for old_node, new_node, kind, change in get_changes():
File "/opt/csw/lib/python2.3/site-
packages/trac/versioncontrol/web_ui/changeset.py", line 303, in
get_changes
new_node = repos.get_node(npath, rev)
File "/opt/csw/lib/python2.3/site-
packages/trac/versioncontrol/cache.py", line 114, in get_node
return self.repos.get_node(path, rev)
File "/opt/csw/lib/python2.3/site-
packages/trac/versioncontrol/svn_fs.py", line 354, in get_node
self.pool)
File "/opt/csw/lib/python2.3/site-
packages/trac/versioncontrol/svn_fs.py", line 531, in __init__
self.root = fs.revision_root(fs_ptr, rev, self.pool())
File "/opt/csw/lib/python2.3/libsvn/fs.py", line 218, in
svn_fs_revision_root
return apply(_fs.svn_fs_revision_root, args)
SubversionException: ('No such revision 89', 160006)
}}}

--
Ticket URL: <http://trac.edgewall.org/ticket/3875>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3875: Changesets that have only added new files throw SubversionException: ('No such revision'... [ In reply to ]
#3875: Changesets that have only added new files throw SubversionException: ('No
such revision'...
---------------------------------------+------------------------------------
Reporter: james@jamesstephenson.net | Owner: cboos
Type: defect | Status: new
Priority: normal | Milestone:
Component: changeset view | Version: 0.10
Severity: normal | Resolution:
Keywords: |
---------------------------------------+------------------------------------
Comment (by cboos):

Did you also upgrade to svn 1.4 by any chance and forgot to update the
bindings?

--
Ticket URL: <http://trac.edgewall.org/ticket/3875#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---