scm: git: update test repository for path encoding (#5251).

Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

I removed a revision including "copied file" from r5026 test repository.
Mercurial supports "copy", but Git does not support.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5033 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-03-07 23:47:25 +00:00
parent 5aca773ff9
commit daac76f1b6
3 changed files with 11 additions and 6 deletions

View File

@@ -28,11 +28,16 @@ begin
end
def test_branches
assert_equal @adapter.branches, ['master', 'test-latin-1', 'test_branch']
assert_equal [
'latin-1-path-encoding',
'master',
'test-latin-1',
'test_branch',
], @adapter.branches
end
def test_getting_all_revisions
assert_equal 16, @adapter.revisions('',nil,nil,:all => true).length
assert_equal 20, @adapter.revisions('',nil,nil,:all => true).length
end
def test_getting_certain_revisions