Syntax error in revision argument

2,333 views
Skip to first unread message

Mojek

unread,
Aug 7, 2009, 6:33:11 AM8/7/09
to Capistrano
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;/

Lee Hambley

unread,
Aug 7, 2009, 6:39:40 AM8/7/09
to capis...@googlegroups.com
Mojek,

The problem is here:


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 <m.m...@gmail.com>

Rafa García

unread,
Apr 29, 2013, 5:17:44 AM4/29/13
to capis...@googlegroups.com
Hi Aruna,
  
  Could you paste (via gist, pastie, ...) all the deployment log and also svn version?

Meanwhile you could check this thread because I think it could be related: http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3032135

Regards


2013/4/28 aruna shekar <aruna.s...@gmail.com>

Hi,

even I am facing problem as below.. anyone can you please help here..
[17:58:06][Step 2/6] svn: E205000: Syntax error in revision argument
[17:58:06][Step 2/6] ERROR: Fail to execute svn update -r

Thanks,
shekar

--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
---
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages