开发者

Mercurial Clone Error

开发者 https://www.devze.com 2023-02-11 17:22 出处:网络
Everytime I try to clone my repo from my local laptop to my testing server (using ssh), the .hg directory is the only thing that clones, and the source never gets copied. Im not sure what could be cau

Everytime I try to clone my repo from my local laptop to my testing server (using ssh), the .hg directory is the only thing that clones, and the source never gets copied. Im not sure what could be causing this, since this is unusual behavior. Any ideas?

Thanks

Local

app
sys
.hg

Clone Command

hg clone repo ssh://user@host/repo

Server After C开发者_运维百科lone

.hg


That's expected. See hg help clone:

It is possible to specify an "ssh://" URL as the destination, but no .hg/hgrc and working directory will be created on the remote side. Please see "hg help urls" for important details about "ssh://" URLs.

If you log into the server after the clone, you should be able to run hg update in the remote repository to create the working directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消