changeset viewer fails for changes with deletions (no node at revision)

Bug #1049640 reported by Tim Watt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trac (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using trac version 0.12.2-1build1 with subversion version 1.7.5-1ubuntu1~precise+svn1 (from ppa:svn/ppa)

Steps:
1) add and modify several text files over 2 or 3 revisions in a trac-viewed svn repository.
2) view each of those changesets in trac
3) delete one of the files in subversion (creating a new revision)
4) view that changeset in trac

Expected results:
the changeset in 4 can be viewed

Actual results:
trac shows an error page instead; more details can be seen on the console

Extra information:
The bug is http://trac.edgewall.org/ticket/10414 and is reportedly fixed in 0.12.3 (I did not verify this).
After I applied the changeset linked in that ticket (http://trac.edgewall.org/changeset/10833) and completely resync'ed the repository, step 4 works. Note that it is not sufficient to resync the affected revision.

This also affects people who started with an older version of trac and/or svn and then upgrade--in that case, only newly-created revisions with deletions are affected.

Since 12.04 is an LTS, would it be possible to backport that one fix?
I've noticed no adverse effects since recently installing that patch (by directly patching /usr/share/pyshared/trac.

Revision history for this message
Tim Watt (timw-at-work) wrote :

I forgot to specify in the initial description that the Ubuntu version is 12.04 server i386, virtual kernel, up to date as of a week or two ago.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.