Edgewall Software

Ticket #2660 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Browse Source throws exception after deleting and renaming a directory in Subversion

Reported by: humandoing@… Owned by: jonas
Priority: normal Milestone:
Component: version control/browser Version: 0.9.2
Severity: normal Keywords:
Cc:

Description

I have a Java source tree with a package structure like this (also seen below in the traceback):

/src/net/humandoing/evolution/domain/interfaces...

What I did was in my subversion client I renamed the "evolution" directory to something else. In effect, it was removing it from the repository, and scheduling the directory with the new name for addition.

After I made all my subversion commits, I went to Trac to browse the source, and it had stopped working (prior to this commit it was working fine).

I tried restarting the web server and fcgi processes that are running my Trac instance, but it was to no avail.

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler

dispatch_request(req.path_info, req, 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/versioncontrol/web_ui/browser.py", line 115, in process_request

self._render_directory(req, repos, node, rev)

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 147, in _render_directory

changes = get_changes(self.env, repos, [irev? for i in info])

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/util.py", line 31, in get_changes

changeset = repos.get_changeset(rev)

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 42, in get_changeset

self.sync()

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 83, in sync

for path,kind,action,base_path,base_rev in changeset.get_changes():

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 488, in get_changes

change.base_path, pool())

SubversionException?: ("File not found: revision 22, path '/src/net/humandoing/evolution/domain/interfaces/Process.java'", 160013)

Attachments

Change History

Changed 3 years ago by anonymous

Ack. I think this is the same as 2416, which has been closed. If so, humble apologies.

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

Actually, that's a duplicate of #2440, I think. Please upgrade to 0.9.3.

(r2461 was a fix for a Windows specific problem)

Add/Change #2660 (Browse Source throws exception after deleting and renaming a directory in Subversion)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.