[darcs-users] Re: get via ssh fails if path to repo contains ~/

Benedikt Schmidt ry102 at rz.uni-karlsruhe.de
Fri Apr 8 13:29:48 UTC 2005


"Andrei A. Voropaev" <av at simcon-mt.com> writes:

> On Fri, Apr 08, 2005 at 01:20:13PM +0100, Jamie Webb wrote:
>> It's probably some shell expansion happening somewhere, but I don't
>> think it matters because you never need to use a ~. scp starts in your
>> home directory, so server:~/file is just the same as server:file.
>
> I understand. But, what if I use some other shell expansion like wildcard?
> Shall it work?

Darcs get creates a batch file for sftp that contains a "cd repodir" on the
first line. It seems like sftp doesn't do any wildcard expansion for cd, so
wildcard expansion shouldn't work.

Benedikt





More information about the darcs-users mailing list