Method: CodeCache::Repo::SVN#check_repo
- Defined in:
- lib/code_cache/repo/svn.rb
#check_repo(url) ⇒ Object
Check access to the repo in question
86 87 88 89 90 91 |
# File 'lib/code_cache/repo/svn.rb', line 86 def check_repo(url) output = `svn ls #{url} 2>&1` if ($? != 0) raise BadRepo.new(url + "<<<" + output.to_s + ">>>") end end |