[darcs-users] darcs-ssh

Tommy Pettersson ptp at lysator.liu.se
Thu Nov 16 20:26:41 UTC 2006


On Thu, Nov 16, 2006 at 07:00:59PM +0100, Wolfgang Jeltsch wrote:
> The problem is that when doing a get, push or pull via SSH, directories named 
> darcs-ssh are created.  I saw them inside the working copy, in the directory 
> immediately above the root of the working copy and in _darcs/pristine.  
[...]
> Nevertheless, I'd like this problem to be resolved.  Can anybody tell me 
> what's the reason for the creation of these directories is and how I can stop 
> them being created?

The easy fix (until darcs is mended) is to set the environment
variable DARCS_TMPDIR to some directory for temporary files, or
to create the directory \tmp. In either case, darcs will create
its darcs-ssh directory inside that directory. All other
temporary files used by darcs will also be created in that
directory.

Another way should be to use the flag --disable-ssh-cm
(preferably from the .darcs/defaults file). This disables the
feature that creates the darcs-ssh directory, but now darcs can
not multiplex transactions with ssh. But if your ssh does not
support control master, darcs couldn't do so anyway.
Unfortunately there have been problems reported that
--disable-ssh-cm not always works from the defaults file.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list