Blame SOURCES/subversion-1.7.9-swighash.patch
|
|
6712ef |
|
|
|
6712ef |
http://svn.apache.org/viewvc?view=revision&revision=1327373
|
|
|
6712ef |
|
|
|
6712ef |
--- subversion-1.7.9/subversion/bindings/swig/ruby/test/test_wc.rb.swighash
|
|
|
6712ef |
+++ subversion-1.7.9/subversion/bindings/swig/ruby/test/test_wc.rb
|
|
|
6712ef |
@@ -326,12 +326,16 @@ class SvnWcTest < Test::Unit::TestCase
|
|
|
6712ef |
ignored_errors = []
|
|
|
6712ef |
callbacks.ignored_errors = ignored_errors
|
|
|
6712ef |
access.walk_entries(@wc_path, callbacks)
|
|
|
6712ef |
+ sorted_ignored_errors = ignored_errors.sort_by {|path, err| path}
|
|
|
6712ef |
+ sorted_ignored_errors = sorted_ignored_errors.collect! do |path, err|
|
|
|
6712ef |
+ [path, err.class]
|
|
|
6712ef |
+ end
|
|
|
6712ef |
assert_equal([
|
|
|
6712ef |
[@wc_path, Svn::Error::Cancelled],
|
|
|
6712ef |
[path1, Svn::Error::Cancelled],
|
|
|
6712ef |
[path2, Svn::Error::Cancelled],
|
|
|
6712ef |
],
|
|
|
6712ef |
- ignored_errors.collect {|path, err| [path, err.class]})
|
|
|
6712ef |
+ sorted_ignored_errors)
|
|
|
6712ef |
end
|
|
|
6712ef |
end
|
|
|
6712ef |
end
|