无法弄清楚这一点.
这在machinex.com上本地工作:
hg clone /somepath/repos mystuff
Run Code Online (Sandbox Code Playgroud)
但我尝试远程:
hg clone ssh://myuser@machinex.com/somepath/repos mystuff
Run Code Online (Sandbox Code Playgroud)
我明白了:
myuser's password: [enter password correctly]
remote: abort: There is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!
Run Code Online (Sandbox Code Playgroud)
我也可以直接进入machinex.com.
任何帮助是极大的赞赏.
如果通过ssh的路径是相对于根目录(即/),则需要额外的斜杠:
hg clone ssh://myuser@machinex.com//somepath/repos mystuff
Run Code Online (Sandbox Code Playgroud)
否则它认为它与myuser的主目录相关.
| 归档时间: |
|
| 查看次数: |
652 次 |
| 最近记录: |