1 patch for repository http://darcs.net/screened:
Author: Ben Franksen <email@example.com>
Date: Tue May 16 08:33:59 CEST 2017
* add trailing slash to local dir when cloning over ssh
This change makes it possible to use DARCS_SCP=rsync which can be much
faster than scp. Without trailing slash on the source dir, rsync
local dir inside the target dir which is not what we want here.
scp is not affected by this change.
This looks good (according to
https://codeyarns.com/2016/10/01/trailing-slash-in-rsync/ for instance.)
I'm attaching another patch that fixes a corner case where one does not
specify tyhe destination directory. Without this patch, the directory
created is "local". Now, it is the name of the current directory.
Unfortunately in this corner case rsync and scp behave differently,
regardless of whether a slash is appended to the target: rsync creates
the repo directly in the home directory, whereas scp creates it in a
subdir. I will think about how to work around that so that the behavior
will be the same in all cases.