require 'repertoire/media/type' module Repertoire module Media class Darcs include Type known_as :darcs uses_directory '_darcs' # # Checks out the Darcs repository located at the specified _uri_ into # the specified _path_. # def self.checkout(uri,path=nil) sh('darcs','get','--partial',uri,path) end # # Updated the Darcs repository located at the specified _path_. # def self.update(uri,path) sh('darcs','pull','-a',path) end end end end