[darcs-devel] [issue2673] clone: inconsistencies in destination dir (put vs. get)

Gian Piero Carrubba bugs at darcs.net
Sat Jan 23 08:54:34 UTC 2021


New submission from Gian Piero Carrubba <gpiero at rm-rf.it>:

$ darcs --version 
2.16.3 (+ 180 patches)

$ darcs ini R
Finished initializing repository.
$ darcs clone R local-local
Copying patches, to get lazy repository hit ctrl-C...
Finished cloning.
$ darcs clone localhost.:$(pwd)/R remote-local
Copying patches, to get lazy repository hit ctrl-C...
Finished cloning.
$ ls -1d */_darcs
R/_darcs
local-local/_darcs
remote-local/_darcs

So far, so good...

$ darcs clone R localhost.:$(pwd)/local-remote
Creating local clone...
Transferring clone using scp...
Cloning and transferring successful.
$ darcs clone localhost.:$(pwd)/R localhost.:$(pwd)/remote-remote
Creating local clone...
Transferring clone using scp...
Cloning and transferring successful.
$ ls -1d */*/_darcs
local-remote/R/_darcs
remote-remote/R/_darcs

When creating the repo on a remote host, darcs appends the basename of 
the repodir to the provided path. This does not happen if the 
destination dir is on the local host. Different combinations of trailing 
slashes do not change the results.

----------
messages: 22624
nosy: gpiero
status: unknown
title: clone: inconsistencies in destination dir (put vs. get)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2673>
__________________________________


More information about the darcs-devel mailing list