problem with clone ssh://

Benoit Boissinot bboissin at gmail.com
Sat Jun 3 02:35:53 CDT 2006


On 6/2/06, Satish Balay <balay at fastmail.fm> wrote:
>
> The following works:
>
>     hg clone ssh://machine//repo local_repo
>
> But the following does not.
>
>     hg clone local_repo ssh://machine//repo
>
> Is it supporsed to work? [currently I workarround this with rsync]

No, you have to do a "hg init" on the remote side and then use "hg push"

(rsync will work but does not ensure correct locking)

regards,

Benoit


More information about the Mercurial mailing list