Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393671 - www-apps/trac-0.12.2: changeset view broken with dev-vcs/subversion-1.7 (with patch)
Summary: www-apps/trac-0.12.2: changeset view broken with dev-vcs/subversion-1.7 (with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL: http://trac.edgewall.org/ticket/10414
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 20:20 UTC by Duncan Exon Smith
Modified: 2012-02-12 12:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for svn_fs.py to correctly process deleted files. (trac-0.12.2-svn_1.7_deletion.patch,1.46 KB, patch)
2011-12-08 20:21 UTC, Duncan Exon Smith
Details | Diff
Updated ebuild that uses the patch (just added src_prepare). (trac-0.12.2-r1.ebuild,2.80 KB, text/plain)
2011-12-08 20:22 UTC, Duncan Exon Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Exon Smith 2011-12-08 20:20:36 UTC
Changeset view is broken in www-apps/trac-0.12.2 after upgrading to dev-vcs/subversion-1.7.1 (same for dev-vcs/subversion-1.7.2, not yet in the tree).  You can't view changesets in Trac in which a file/directory/etc. has been deleted; instead, you get this error: "No node for /path in revision x."  This only affects revisions committed after upgrading to subversion-1.7.

This is a known Trac bug: see http://trac.edgewall.org/ticket/10414.  It is one of a number of fixes scheduled to be released in the new year as part of Trac v0.12.3.

I'll attach a patch (trac-0.12.2-svn_1.7_deletion.patch) and updated ebuild (trac-0.12.2-r1.ebuild) that I'm using in the meantime, created with the help of the linked Trac ticket and http://trac.edgewall.org/browser//branches/0.12-stable/trac/versioncontrol/svn_fs.py?rev=10858.

Reproducible: Always




Note: re-installing Trac with the patch is not enough:  you also need to resync your repositories from scratch.
Comment 1 Duncan Exon Smith 2011-12-08 20:21:51 UTC
Created attachment 295217 [details, diff]
Patch for svn_fs.py to correctly process deleted files.
Comment 2 Duncan Exon Smith 2011-12-08 20:22:46 UTC
Created attachment 295219 [details]
Updated ebuild that uses the patch (just added src_prepare).
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-12 12:05:06 UTC
I've just committed Trac 0.12.3 to the Portage tree.