# File lib/fastcst/command/apply.rb, line 21 21: def validate 22: valid? @repo_dir, "Could not find repository directory" 23: valid?((@id or @rev), "You must specify either an id or revision name") 24: valid?((not (@id and @rev)), "You cannot specify an id (-i) AND a revision name (-r)") 25: 26: if @repo_dir 27: @repo = Repository.new @repo_dir 28: end 29: 30: return @valid 31: end