Method: Svn#checkout
- Defined in:
- lib/version_control/svn.rb
#checkout(init = false) ⇒ Object
Performs an svn checkout
Attributes
-
init- true to initilize the checkout and local repo
Returns
-
command output
75 76 77 78 79 80 81 82 83 |
# File 'lib/version_control/svn.rb', line 75 def checkout(init = false) FileUtils.cd(@base_path, :verbose => true) if init cmd = "#{@svn} checkout #{@url} #{@rebase} #{@credential} #{@command_options}" else cmd = "#{@svn} checkout #{@command_options}" end process_cmd(cmd) end |