I am going to push my patch to reviewed since the only difference is
that the source directory to be copied is no longer named "local" but
has the name of the currently cloned repository. The presence of
trailing slash is from before.
v v v v v v v v v v v v v v v v v v v v
* fix cloning to ssh without specifying destination directory
Now we can do `darcs clone . domain:` and a directory will
be created with the name of the current directory instead
of `local`.
hunk ./src/Darcs/UI/Commands/Clone.hs 199
- cloneRepository repodir "local" (verbosity ? opts) (useCache ?
opts)
+ mysimplename <- makeRepoName True [] repodir -- give correct
name to local clone
+ cloneRepository repodir mysimplename (verbosity ? opts)
(useCache ? opts)
hunk ./src/Darcs/UI/Commands/Clone.hs 213
- r <- exec scp (args ++ ["-r", "local/", repo]) (AsIs,AsIs,AsIs)
+ r <- exec scp (args ++ ["-r", mysimplename ++ "/", repo])
(AsIs,AsIs,AsIs)
|