Class: Hardhat::Repository::Svn
- Inherits:
-
Object
- Object
- Hardhat::Repository::Svn
- Includes:
- Hardhat::Repository
- Defined in:
- lib/hardhat/repository/svn.rb
Instance Attribute Summary
Attributes included from Hardhat::Repository
Instance Method Summary collapse
Methods included from Hardhat::Repository
Instance Method Details
#get ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/hardhat/repository/svn.rb', line 4 def get if Dir.exists? path system("cd #{path} && svn update --quiet") else system("svn checkout --quiet #{url} #{path}") end end |