外部 Mercurial リポジトリのクローン

関連項目

IDE では、外部 Mercurial リポジトリをクローンして、それを IDE 内部で利用することができます。IDE で操作するリポジトリ全体のコピーまたはクローンを効果的に作成します。このためには、読み取り権限を持つ Mercurial リポジトリにアクセスできる必要があります。

Mercurial リポジトリをクローンする

  1. Choose Team > (Mercurial >) Clone Other from the IDE's main menu. Mercurial の「他をクローン」ウィザードが開きます。
  2. In the Mercurial Repository panel of the wizard, enter a URL that contains the connection protocol and the location of the repository.
  3. 「次へ」をクリックします。
  4. In step 2 of the wizard, Clone External Repository, specify the default pull and push paths to the repository.
  5. In step 3 of the wizard, Destination Directory, specify the Parent directory into which you want to place the Clone of the repository. 「参照」ボタンをクリックし、システム上の目的のディレクトリに移動して選択することもできます。
  6. クローン名を指定します。
  7. 「完了」をクリックします。IDE によって「クローン」アクションが開始され、リポジトリからローカルの作業用ディレクトリへのファイルのダウンロードの進捗状況がステータスバーに示されます。クローンされたファイルを、「出力」ウィンドウから確認することもできます (Ctrl-4)。

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 リポジトリへもアクセスできます。Mercurial リポジトリでは、単純に Web サーバーを使用して、.hg ディレクトリを静的コンテンツとしてパブリッシュします static-http://hostname/repository_path
ssh SSH でのアクセス ssh://hostname/repository_path

注: Mercurial での SSH の使用

関連項目
Mercurial の操作

著作権と商標について