hello,
I used capistrano with cvs reposity... and I think that cvs.rb is bugged...
In fact, Capistrano try to execute cvs -Q -d [EMAIL PROTECTED]:/var/lib/cvs
checkout -r 2008-05-16 09:53:03 +0200 -d 20080516122636 toto
buts it's not possible to execute that because
-r => is a revision, not a date
so it's -D 2008-05-16 09:53:03 +0200
and we must protect string => -D '2008-05-16 09:53:03 +0200'
I don't know if it's all right, but I send you a patch.
I'll be happy to discuss it with you
Best regards,
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---
114c114
< return :date if rev =~ /^\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}/ # i.e 2007-05-15 08:13:25
---
> return :date if rev =~ /^\d{4}\/\d{2}\/\d{2} \d{2}:\d{2}:\d{2}$/ # i.e 2007-05-15 08:13:25
126c126
< "-D '#{rev}'" if revision_type(rev) == :date
---
> "-D \"#{rev}\"" if revision_type(rev) == :date