[cvsspam-devel] Minor fix for subversion property handling
Joe Eiler
joe at eiler.net
Sun Jul 2 21:00:16 UTC 2006
We shouldn't die if the user does a property change where the property
has no value. This problem was discovered by someone who had screwed up
their auto-props setting in .subversion/config.
Joe
Oh, and if you see an authorization message in your log that was my
fault, I thought I was in my local repo and not the real one.
--- svn_post_commit_hook.rb (revision 246)
+++ svn_post_commit_hook.rb (working copy)
@@ -238,7 +238,7 @@
end
def assert_prop_match(a, b)
- if a != b
+ if b != nil && a != b
raise "property mismatch: #{a.inspect}!=#{b.inspect}"
end
end
More information about the cvsspam-devel
mailing list