Changeset view broken for deleted files after upgrade to Subversion 1.7.0
|Reported by:||Owned by:||Remy Blank|
versioncontrol: Fixed a compatibility issue with Subversion 1.7.0.
Description (last modified by )
Upgraded to Subversion 1.7.0 compiled by WanDisco on Centos 5.5.
New commits with file deletions no longer render in changeset view. Instead I get a "No node for /path in revision x" error.
Looking at the node_changes database, all the entries are marked E, even though the deletions should be marked D
Playing around on my test instance, I isolated the problem to a change in behavior between Subversion 1.6.x and 1.7.0. In Subversion 1.6.x, the change.path was None on a delete. In Subversion 1.7.0, the change.path is the path of the file that was deleted.
Recommend changing code
if not path: if base_path:
if change.action == repos.CHANGE_ACTION_DELETE: if base_path:
in svn_fs.py. Not sure if that breaks compatiiblity with old subversion bindings though.
Problem observed on 0.11.7 but seems to exist in 0.13dev too.
Change History (19)
comment:1 by , 7 years ago
|Component:||general → version control|
|Priority:||normal → high|
|Severity:||normal → critical|