lib/autobuild/import/git.rb
# Changes the repository this importer is pointing to
Changes the repository this importer is pointing to
Changes the repository this importer is pointing to
def relocate(repository, options = Hash.new)
            @repository = repository.to_str
            @repository_id = options[:repository_id] ||
                "git:#{@repository}"
            @source_id = options[:source_id] ||
                "#{@repository_id} branch=#{self.branch} tag=#{self.tag} commit=#{self.commit}"
        end
def relocate ( repository , options = Hash . new ) @repository = repository . to_str @repository_id = options [ :repository_id ] || "git:#{@repository}" @source_id = options [ :source_id ] || "#{@repository_id} branch=#{self.branch} tag=#{self.tag} commit=#{self.commit}" end
Changes the repository this importer is pointing to
Changes the repository this importer is pointing to
repository
<not_specific>
options
<not_specific>
new
<not_specific>