lib/r10k/environment/svn.rb in r10k-3.9.0 vs lib/r10k/environment/svn.rb in r10k-3.9.1
- old
+ new
@@ -5,12 +5,10 @@
# This class implements an environment based on an SVN branch.
#
# @since 1.3.0
class R10K::Environment::SVN < R10K::Environment::Base
- include R10K::Logging
-
R10K::Environment.register(:svn, self)
# @!attribute [r] remote
# @return [String] The URL to the remote SVN branch to check out
attr_reader :remote
@@ -44,15 +42,15 @@
# @option options [String] :password The SVN password
def initialize(name, basedir, dirname, options = {})
super
setopts(options, {
# Standard option interface
- :source => :remote,
- :version => :expected_revision,
- :type => ::R10K::Util::Setopts::Ignore,
+ :source => :remote,
+ :version => :expected_revision,
+ :type => ::R10K::Util::Setopts::Ignore,
# Type-specific options
- :remote => :self,
+ :remote => :self,
:username => :self,
:password => :self,
})
@working_dir = R10K::SVN::WorkingDir.new(Pathname.new(@full_path), :username => @username, :password => @password)