yes this is a solution. I have only added argument to query_revision
because it takes one. So line you have suggested to me now looks like
On Nov 24, 3:31 pm, Jamis Buck <
ja...@37signals.com> wrote:
> Try overriding the :real_revision variable so that it looks something
> like this:
>
> set(:real_revision) { source.query_revision { |cmd| capture(cmd) } }
>
> - Jamis
>
> On Nov 24, 2007, at 7:07 AM, viktor wrote:
>
>
>
> > Hi,
>
> > I have configuration in which app, db and web servers are placed
> > inside corporate network and SVN repository is placed outside.
> > Firewall is configured to allow connections from servers to remote SVN
> > repository.
>
> > Developers are using VPN clients to access corporate network. Because
> > of security reasons clients (developers) are not allowed to connect to
> > Internet through VPN, which is why they can not see SVN repository
> > directly.
>
> > Capistrano hangs on update_code command because it tries to retrieve
> > real svn revision by issuing svn info svn://xxx.xxx.xxx/repo -rHEAD
> > locally on developers machine.
>
> > What is best way to change this behavior. I would like to force
> > execution of above mentioned command on remote host (which have access
> > to SVN repository).
>
> > I suppose I should override query_revision method??
>
> > Thx. in advance!
>
> > Viktor
> > >
>
>