git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8156 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4cedb0b628
commit
eb789b147a
|
@ -197,7 +197,6 @@ module Redmine
|
|||
from_to << "#{identifier_from}.." if identifier_from
|
||||
from_to << "#{identifier_to}" if identifier_to
|
||||
cmd_args << from_to if !from_to.empty?
|
||||
cmd_args << "--since=#{options[:since].strftime("%Y-%m-%d %H:%M:%S")}" if options[:since]
|
||||
cmd_args << "--" << scm_iconv(@path_encoding, 'UTF-8', path) if path && !path.empty?
|
||||
|
||||
scm_cmd *cmd_args do |io|
|
||||
|
|
|
@ -102,15 +102,6 @@ begin
|
|||
assert_equal '1ca7f5ed374f3cb31a93ae5215c2e25cc6ec5127', revs1[20].identifier
|
||||
end
|
||||
|
||||
def test_revisions_reverse_with_time
|
||||
since2 = Time.gm(2010, 9, 30, 0, 0, 0)
|
||||
revs2 = @adapter.revisions('', nil, nil,
|
||||
{:all => true, :since => since2, :reverse => true})
|
||||
assert_equal 6, revs2.length
|
||||
assert_equal '67e7792ce20ccae2e4bb73eed09bb397819c8834', revs2[0].identifier
|
||||
assert_equal '1ca7f5ed374f3cb31a93ae5215c2e25cc6ec5127', revs2[5].identifier
|
||||
end
|
||||
|
||||
def test_revisions_master_all
|
||||
revs1 = []
|
||||
@adapter.revisions('', nil, "master",{}) do |rev|
|
||||
|
|
Loading…
Reference in New Issue