Check out https://github.com/morrislaptop/capistrano-gridserver

On Wednesday, 29 November 2006 03:41:41 UTC+11, yesteray wrote:
>
>
> 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
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/1077e8f8-ab4b-40dc-8cc0-53a3df0dcbec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to