require 'repertoire/media/type' module Repertoire module Media class SVN < Type known_as :svn uses_schemes 'svn', 'svn+ssh' uses_directory '.svn' # # Checks out the SVN repository located at the specified _uri_ into # the specified _path_. # def self.checkout(uri,path) sh 'svn', 'co', uri, path end # # Updated the SVN repository located at the specified _path_. # def self.update(path,uri=nil) sh 'svn', 'up', path end end end end