darcs

Issue 351 --disable-ssh-cm is not parsed from defaults

Title --disable-ssh-cm is not parsed from defaults
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List alex1, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To tommy
Topics

Created on 2006-11-15.17:35:23 by alex1, last changed 2009-10-23.23:43:09 by admin.

Messages
msg1229 (view) Author: alex1 Date: 2006-11-15.17:35:17
Putting this in ~/.darcs/defaults should work but has no effect at all:

pull disable-ssh-cm
push disable-ssh-cm
put disable-ssh-cm
get disable-ssh-cm

Very annoying since Darcs's use of connection caching is pretty much  
broken on MacIntel, and the --disable-ssh-cm option is required to  
work around the problem.

Alexander.
msg1230 (view) Author: droundy Date: 2006-11-15.20:22:10
On Wed, Nov 15, 2006 at 05:35:23PM +0000, Alexander Staubo wrote:
> Putting this in ~/.darcs/defaults should work but has no effect at all:
> 
> pull disable-ssh-cm
> push disable-ssh-cm
> put disable-ssh-cm
> get disable-ssh-cm

Can you try another option such as

whatsnew summary

to see whether this is specific to disable-ssh-cm or is a failure to parse
your defaults file?
-- 
David Roundy
Deptartment of Physics
Oregon State University
msg1231 (view) Author: alex1 Date: 2006-11-15.20:32:19
On Nov 15, 2006, at 21:22 , David Roundy wrote:

> David Roundy <droundy@darcs.net> added the comment:
>
> On Wed, Nov 15, 2006 at 05:35:23PM +0000, Alexander Staubo wrote:
>> Putting this in ~/.darcs/defaults should work but has no effect at  
>> all:
>>
>> pull disable-ssh-cm
>> push disable-ssh-cm
>> put disable-ssh-cm
>> get disable-ssh-cm
>
> Can you try another option such as
>
> whatsnew summary
>
> to see whether this is specific to disable-ssh-cm or is a failure  
> to parse
> your defaults file?

Yep, that works fine.

Alexander.
msg1232 (view) Author: kowey Date: 2006-11-15.22:01:02
On Wed, Nov 15, 2006 at 17:35:23 +0000, Alexander Staubo wrote:
> pull disable-ssh-cm
> push disable-ssh-cm
> put disable-ssh-cm
> get disable-ssh-cm

disable-ssh-cm is actually broken in general in 1.0.8, but is fixed in
1.0.9 onwards

> Very annoying since Darcs's use of connection caching is pretty much  
> broken on MacIntel,

Interesting.  Can you tell us more?  I use it, and it seems fine,
although it doesn't do a very job cleaning up connections on a bad exit.
I'll have to think of a way to fix _that_; for now, a workaround might
consist of something like killall ssh and removing /tmp/darcs-ssh.
msg1233 (view) Author: alex1 Date: 2006-11-15.23:29:39
On Nov 15, 2006, at 23:01 , Eric Kow wrote:

> Eric Kow <eric.kow@gmail.com> added the comment:
>
> On Wed, Nov 15, 2006 at 17:35:23 +0000, Alexander Staubo wrote:
>> pull disable-ssh-cm
>> push disable-ssh-cm
>> put disable-ssh-cm
>> get disable-ssh-cm
>
> disable-ssh-cm is actually broken in general in 1.0.8, but is fixed in
> 1.0.9 onwards

I should have mentioned that this is on 1.0.9rc1, compiled using GHC  
6.6 for Intel.

>> Very annoying since Darcs's use of connection caching is pretty much
>> broken on MacIntel,
>
> Interesting.  Can you tell us more?  I use it, and it seems fine,
> although it doesn't do a very job cleaning up connections on a bad  
> exit.
> I'll have to think of a way to fix _that_; for now, a workaround might
> consist of something like killall ssh and removing /tmp/darcs-ssh.

The behaviour depends on the repo (small repos tend not to exhibit  
this problem), but it's almost consistently reproducible. From what I  
can tell, Darcs hangs waiting for a subprocess such as scp or sftp to  
complete. Sometimes Ctrl+C-ing Darcs will, inexplicably, kill the  
*subprocess* and let Darcs continue; sometimes Darcs will then  
continue successfully, but usually Darcs ends up with some partially  
read data that it will barf on.

I have seen the occasional orphaned SSH process left behind by Darcs,  
but when trying to beat Darcs into submission I have always made sure  
that no such orphans or /tmp garbage is around.

This is happening to everyone on my development team -- three  
different MacBooks, all on MacPorts + latest Tiger + SSHKeyChain --  
so it's not just me. Happens on pull, push, get and put. SSHKeyChain  
is not the most reliable of apps, though, and it may make sense to  
use ssh-agent on its own to eliminate one possible cause. I will also  
try to get some ktrace output.

Alexander.
msg1770 (view) Author: tommy Date: 2007-06-29.19:42:28
fixed in 1.0.9
History
Date User Action Args
2006-11-15 17:35:23alex1create
2006-11-15 20:22:15droundysetstatus: unread -> unknown
nosy: droundy, tommy, kowey, alex1
messages: + msg1230
2006-11-15 20:32:26alex1setnosy: droundy, tommy, kowey, alex1
messages: + msg1231
2006-11-15 22:01:08koweysetnosy: droundy, tommy, kowey, alex1
messages: + msg1232
2006-11-15 23:29:46alex1setnosy: droundy, tommy, kowey, alex1
messages: + msg1233
2006-11-17 17:46:59tommysetnosy: droundy, tommy, kowey, alex1
2006-11-17 18:12:55tommysetstatus: unknown -> has-patch
nosy: droundy, tommy, kowey, alex1
2006-12-12 20:11:15tommysetstatus: has-patch -> resolved-in-stable
nosy: droundy, tommy, kowey, alex1
2007-06-29 19:42:28tommysetstatus: resolved-in-stable -> resolved
nosy: + beschmi
messages: + msg1770
2009-08-06 17:33:21adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, alex1
2009-08-06 20:30:47adminsetnosy: - beschmi
2009-08-10 21:59:02adminsetnosy: + alex1, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:48:05adminsetnosy: + darcs-devel, - simon
2009-08-27 13:49:19adminsetnosy: tommy, kowey, darcs-devel, alex1, thorkilnaur, dmitry.kurochkin
2009-10-23 22:34:09adminsetnosy: + alexander, - alex1
2009-10-23 23:43:09adminsetnosy: + alex1, - alexander