[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Remote execution of SVN updates.

From: Sean Murphy <smurphy_at_ivs3d.com>
Date: 2006-03-28 21:16:12 CEST

I made it work on my setup. All I had to do was run the ssh command
with the full path to svn. eg:

ssh -x -n user@host "/usr/bin/svn up build/scripts"

this works fine now. Thanks for your help.
-Sean

Rob van Oostrum wrote:
> Have you tried passing the --non-interactive flag?
>
>
>> -----Original Message-----
>> From: Sean Murphy [mailto:smurphy@ivs3d.com]
>> Sent: Tuesday, March 28, 2006 1:33 PM
>> To: Rob van Oostrum; users@subversion.tigris.org
>> Subject: Re: Remote execution of SVN updates.
>>
>> The .cshrc file is being sourced properly. I added some debugging
>> things in there to make sure since I posted the last, and it spits out
>> the echos fine before svn dies. When I run the svn command locally,
>>
> it
>
>> doesn't request any input in the form of a password, so I assume
>>
> assume
>
>> all the authentication is handled properly. Any more hints?
>> -Sean
>>
>> Rob van Oostrum wrote:
>>
>>> Sound like you a) don't have an authentication token cached and/or
>>>
> b)
>
>>> you need to source the profile that sets your home directory so that
>>>
> the
>
>>> svn client knows where to look for the .subversion directory.
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Sean Murphy [mailto:smurphy@ivs3d.com]
>>>> Sent: Tuesday, March 28, 2006 11:53 AM
>>>> To: users@subversion.tigris.org
>>>> Subject: Remote execution of SVN updates.
>>>>
>>>> Greetings, I've got svn working locally to the point where I can
>>>>
> run
>
>>>> "svn up scripts", say, to update my scripts collection and so
>>>>
> forth,
>
>>> but
>>>
>>>
>>>> I wish to be able to execute an update remotely via SSH. I have a
>>>>
> set
>
>>>> of keys set up between two trusted accounts, and when I run the
>>>>
>>>>
>>> following:
>>>
>>>
>>>> *> ssh -x -n user@host "cd build; svn up scripts"
>>>>
>>>> *and it pauses for about 3 seconds, then gives me:
>>>> *svn: Connection closed unexpectedly
>>>> **
>>>> *I'm unsure as to why it works locally, but not when executed
>>>>
>>>>
>>> remotely.
>>>
>>>
>>>> I suspect there's something the non-interactive shell isn't doing
>>>>
>>>>
>>> right
>>>
>>>
>>>> and svn is choking on it, but I'm at a loss as to what. If anyone
>>>>
> has
>
>>>> any information, I'd be most appreciative.
>>>>
>>>> -Sean
>>>>
>>>>
>>>>
>>>>
> ---------------------------------------------------------------------
>
>>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>>
>>>>
>>>
>>>
> ---------------------------------------------------------------------
>
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>
>>>
>>>
>>>
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 28 21:17:10 2006

This is an archived mail posted to the Subversion Users mailing list.