hi bengugohit,

   Are you doing a "export"?

   Also you can check the paths:
#{repository_trunk}/private/source#{repository_branch}/#{webistrano_stage} El 12/05/10 10:29, benbugohit escribió:

I'm assuming that "sh" command executes the command remotely but I'm not sure because error said "LOCAL SCM ERROR"

Regards

Hello all,

I'm not a ruby nor capistrano expert, but i succeeded in configuring
and deploying php files
thanks this great app !
I configured recipes with tasks that run remote commands thanks to
"invoke_command',
but this new recipe doesn't work :
(i want to create / update a branch before deploying #{repository}

-------------------
namespace :web do
  desc "create or update branch"

  task :create_update_branch do
   sh "svn copy #{repository_trunk}/private/source
#{repository_branch}/
#{webistrano_stage} -m 'maj branche #{webistrano_stage}'"

  end
end

before 'deploy:update_code', 'web:create_update_branch'

-------------------
it fails with the message :

  ** loading stage recipe 'change group to www-data'
  ** loading stage recipe 'create or update branch'
  ** loading stage recipe 'create releases dir'

*** LOCAL SCM ERROR: svn: '.' is not a working copy
*** Local scm command failed

What's my error in the recipe task definition ?

Thanks in advance,



--
Rafa

--
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to