Arjen wrote:
> I can't seem to get it to work. Capistrano keeps failing on:
> svn: invalid option: --limit
>
> which is triggered by line 23 in subversion.rb (which in turn calls
> svn_log on line 81), which uses:
>
> `svn log -q --limit 1 #{path}`
>
> Running "svn --version" tells me MediaTemple is running Subversion
> 1.1.4. I doubt if this version supports the limit switch for the "svn
> log" command (how to tell?). Runnning this command locally runs without
> problems...
>
> Any ideas to resolve this? It'll be highly appreciated, since I'm
> stuck! :)
You seem to have plenty of ideas!
If you remove the "--limit 1" part of the svn_log command, you'll get
the same result, you just get it more slowly.
If you want to use svn info, you could modify the match to match the
revision from the output. A minimally invasive change would add a new
svn_info method:
def svn_info(path)
`svn info #{path}`
end
and then modify the match on line 23 of subversion.rb
match = svn_info(".").scan(/Revision: (\d+)/).first or
--
Ray
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---