libsvn_fs_fs/tree.c:314 error browsing certain changesets
libsvn_fs_fs/tree.c:314 File not found
Me (http://forum.activereload.net/forums/...) and other people (http://pastie.org/pastes/154188) have see this problem when attempting to browse certain changesets with Warehouse 1.1.6.
Is there a resolution?
Me (http://forum.activereload.net/forums/...) and other people (http://pastie.org/pastes/154188) have see this problem when attempting to browse certain changesets with Warehouse 1.1.6.
Is there a resolution?
3
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The best solution from everyone
-
Rick and Will responded to my problem on the forum. The post was deleted accidentally. Also, they provided the following code to fix the problem:
app/models/node.rb
def unified_diff_for(old_rev, new_rev, diff_path)
old_path = old_rev.node_created_path(diff_path).sub(/^\//, '')
old_rev = find_revision old_rev, diff_path
new_rev = find_revision new_rev, diff_path
sorted = check_revisions(old_rev, new_rev)
old_root = find_root_for_revision(sorted[0], diff_path)
new_root = find_root_for_revision(sorted[1], diff_path)
differ = Svn::Fs::FileDiff.new(old_root, old_path, new_root, diff_path)
if differ.binary?
''
else
old = "#{old_path} (revision #{old_root.node_created_rev(old_path)})"
cur = "#{diff_path} (revision #{new_root.node_created_rev(diff_path)})"
differ.unified(old, cur)
end
end
I’m thankful
3 people say
this solves the problem
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Strange, my ActiveReload forum post about this was deleted. Persecution?
I’m suspicious
-
Inappropriate?No, no persecution, just got caught when they tried to remove spam. Also, they've merge with Entp, so this might not be the right company/product to ask for support for.
Anyway, here's my post re-posted:
http://forum.activereload.net/forums/...
I’m amused
-
Inappropriate?Rick and Will responded to my problem on the forum. The post was deleted accidentally. Also, they provided the following code to fix the problem:
app/models/node.rb
def unified_diff_for(old_rev, new_rev, diff_path)
old_path = old_rev.node_created_path(diff_path).sub(/^\//, '')
old_rev = find_revision old_rev, diff_path
new_rev = find_revision new_rev, diff_path
sorted = check_revisions(old_rev, new_rev)
old_root = find_root_for_revision(sorted[0], diff_path)
new_root = find_root_for_revision(sorted[1], diff_path)
differ = Svn::Fs::FileDiff.new(old_root, old_path, new_root, diff_path)
if differ.binary?
''
else
old = "#{old_path} (revision #{old_root.node_created_rev(old_path)})"
cur = "#{diff_path} (revision #{new_root.node_created_rev(diff_path)})"
differ.unified(old, cur)
end
end
I’m thankful
3 people say
this solves the problem
Loading Profile...




