在 Mercurial“推入其他”对话框中,您可以将更改集从本地资源库推入外部资源库。
要访问“推入其他”对话框,您可以从主菜单中选择“版本控制”>“推入其他”。
在“推入其他”对话框中,您需要指定要推入到的 Mercurial 资源库的位置。
资源库 URL:键入要推入到的资源库的 URL。
IDE 支持以下 Mercurial URL:
协议 | 访问方法 | 示例 |
---|---|---|
file | 直接访问资源库(在本地硬盘上) | file:///repository_path |
http | 通过 WebDAV 协议访问支持 Mercurial 的服务器 | http://[username[:password]@]hostname/repository_path |
https | 通过使用 SSL 加密的 HTTP 协议进行访问 | https://[username[:password]@]hostname/repository_path |
static-http | 通过 HTTP 访问虽然有点慢,但是仍然可以访问 Mercurial 资源库,您只需使用 Web 服务器将 .hg 目录发布为静态内容即可 | static-http://hostname/repository_path |
ssh | 通过 SSH 进行访问 | ssh://hostname/repository_path |