GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 760f827b authored by Robert Speicher's avatar Robert Speicher

Remove code that does nothing

ping @karlhungus
parent fa340595
......@@ -24,7 +24,6 @@ def log message
def clear_and_update!
raise SatelliteNotExistError unless exists?
File.exists? path
@repo = nil
clear_working_dir!
delete_heads!
......
......@@ -29,7 +29,6 @@ def init(opts = {})
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 @@ def setup_test_repos(opts ={})
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