在 Mercurial“提取其他”对话框中,您可以从外部 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 |