BigW Consortium Gitlab

Commit 760f827b by Robert Speicher

Remove code that does nothing

ping @karlhungus
parent fa340595
......@@ -24,7 +24,6 @@ module Gitlab
def clear_and_update!
raise SatelliteNotExistError unless exists?
File.exists? path
@repo = nil
clear_working_dir!
delete_heads!
......
......@@ -29,7 +29,6 @@ module TestEnv
disable_mailer if opts[:mailer] == false
setup_stubs
clear_test_repo_dir if opts[:init_repos] == true
setup_test_repos(opts) if opts[:repos] == true
end
......@@ -165,8 +164,7 @@ module TestEnv
def clear_test_repo_dir
setup_stubs
# Use tmp dir for FS manipulations
repos_path = testing_path()
# Remove tmp/test-git-base-path
FileUtils.rm_rf Gitlab.config.gitlab_shell.repos_path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment