@@ -63,7 +63,7 module Redmine | |||
|
63 | 63 | logger.debug "<cvs> entries '#{path}' with identifier '#{identifier}'" |
|
64 | 64 | path_with_project="#{url}#{with_leading_slash(path)}" |
|
65 | 65 | entries = Entries.new |
|
66 |
cmd = "#{CVS_BIN} -d #{root_url} rls -e |
|
|
66 | cmd = "#{CVS_BIN} -d #{root_url} rls -e" | |
|
67 | 67 | cmd << " -D \"#{time_to_cvstime(identifier)}\"" if identifier |
|
68 | 68 | cmd << " #{shell_quote path_with_project}" |
|
69 | 69 | shellout(cmd) do |io| |
@@ -53,6 +53,12 class RepositoryCvsTest < Test::Unit::TestCase | |||
|
53 | 53 | @repository.fetch_changesets |
|
54 | 54 | assert_equal 5, @repository.changesets.count |
|
55 | 55 | end |
|
56 | ||
|
57 | def test_deleted_files_should_not_be_listed | |
|
58 | entries = @repository.entries('sources') | |
|
59 | assert entries.detect {|e| e.name == 'watchers_controller.rb'} | |
|
60 | assert_nil entries.detect {|e| e.name == 'welcome_controller.rb'} | |
|
61 | end | |
|
56 | 62 | else |
|
57 | 63 | puts "CVS test repository NOT FOUND. Skipping unit tests !!!" |
|
58 | 64 | def test_fake; assert true end |
General Comments 0
You need to be logged in to leave comments.
Login now