4 # Commit log for test.git.tar
5 # master is the main branch
6 # b1 is a branch off of master
16 @tmpdir = Dir.mktmpdir()
17 #puts "setup #{@tmpdir}"
18 `cp test/test.git.tar #{@tmpdir} && cd #{@tmpdir} && tar xf test.git.tar`
19 Rails.configuration.git_repositories_dir = "#{@tmpdir}/test"
20 Commit.refresh_repositories
24 #puts "teardown #{@tmpdir}"
25 FileUtils.remove_entry @tmpdir, true