Merged r7643 from trunk
scm: mercurial: skip failing unit model tests on below Mercurial 1.5 Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@7647 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6dac4a499f
commit
4104741383
|
@ -158,8 +158,10 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
|
|||
assert_equal %w|4 3|, changesets.collect(&:revision)
|
||||
|
||||
# named branch
|
||||
changesets = @repository.latest_changesets('', @branch_char_1)
|
||||
assert_equal %w|27 26|, changesets.collect(&:revision)
|
||||
if @repository.scm.class.client_version_above?([1, 6])
|
||||
changesets = @repository.latest_changesets('', @branch_char_1)
|
||||
assert_equal %w|27 26|, changesets.collect(&:revision)
|
||||
end
|
||||
|
||||
changesets = @repository.latest_changesets("latin-1-dir/test-#{@char_1}-subdir", @branch_char_1)
|
||||
assert_equal %w|27|, changesets.collect(&:revision)
|
||||
|
|
Loading…
Reference in New Issue