Mojek,
The problem is here:

/home/mojek/my_domain.pl/current/releases/20090807102557 && (echo  >
/home/mojek/my_domain.pl/current/releases/20090807102557/REVISION)

Here in "echo > /home....." there should be your repository's most recent
revision number visible, example: "echo 1234 > /home....." - here are some
things to check:

There is a password prompt in your output, that would appear that you're not
using SSH keys, or that your server couldn't reach the repository to query
the most recent revision.... can you clarify?

Also, does your repository *have* any revisions, if it's a blank repository,
that should be "echo 0" -- but I can't be sure

-- Lee Hambley

Twitter: @leehambley
Blog: http://lee.hambley.name/
Working with Rails: http://is.gd/1s5W1


2009/8/7 Mojek <[email protected]>

>
> Hello
>
> I have a problem
> when I enter the cap deploy:cold I get this error:
>
> Syntax error in revision argument
>
> cap deploy:cold
>  * executing `deploy:cold'
>  * executing `deploy:update'
>  ** transaction: start
>  * executing `deploy:update_code'
>    executing locally: "svn info
> http://svn.my_domain.pl/project/project_last/
>  --username login --password password --no-auth-cache  -rHEAD"
>  * executing "svn export -q --username login --password password --no-
> auth-cache
>  -r http://svn.my_domain.pl/my_domain/my_domain_last/ /home/mojek/
> my_domain.pl/cu
> rrent/releases/20090807102557 && (echo  > /home/mojek/my_domain.pl/
> current/rele
> ases/20090807102557/REVISION)"
>    servers: ["my_domain.pl"]
> Password:
>    [my_domain.pl] executing command
>  ** [my_domain.pl :: out] svn: Syntax error in revision argument
> 'http://svn.mo
> jek.pl/my_domain/my_domain_last/'
>    command finished
> *** [deploy:update_code] rolling back
>  * executing "rm -rf /home/mojek/my_domain.pl/current/releases/
> 20090807102557;
>  true"
>    servers: ["my_domain.pl"]
>    [my_domain.pl] executing command
>    command finished
> failed: "sh -c 'svn export -q --username login --password password --
> no-auth-cache
>  -r http://svn.my_domain.pl/my_domain/my_domain_last/ /home/mojek/
> my_domain.pl/c
> urrent/releases/20090807102557 && (echo  > /home/mojek/my_domain.pl/
> current/rel
> eases/20090807102557/REVISION)'" on my_domain.pl
>
>
>
> I do it  from  widnows vista;/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to